Added "spawnboss" input in trigger_bossclass
Uses the gamemode sort function to turn the highest scoring zombie into a boss.
This commit is contained in:
parent
3a9a35363c
commit
a187cc1c09
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ function ENT:AcceptInput(name, activator, caller, args)
|
||||||
name = string.lower(name)
|
name = string.lower(name)
|
||||||
if string.sub(name, 1, 2) == "on" then
|
if string.sub(name, 1, 2) == "on" then
|
||||||
self:FireOutput(name, activator, caller, args)
|
self:FireOutput(name, activator, caller, args)
|
||||||
|
elseif name == "spawnboss" then
|
||||||
|
GAMEMODE:SpawnBossZombie(false, self.Silent)
|
||||||
elseif name == "seton" then
|
elseif name == "seton" then
|
||||||
self.On = tonumber(args) == 1
|
self.On = tonumber(args) == 1
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in a new issue