Difference between revisions of "Trigger zombieclass"
Johnny moe (talk | contribs) (Created page with "You can directly control the changing of classes with this. == Keyvalues == '''Enabled''' <choices> Enable the brush entity. *0: Yes *1: No '''On Touch Class''' <choices>...") |
Johnny moe (talk | contribs) |
||
Line 11: | Line 11: | ||
Any living zombie touching the brush will be set to this class name. | Any living zombie touching the brush will be set to this class name. | ||
{| role="presentation" class="wikitable mw-collapsible mw-collapsed" | |||
| | |||
|- | |||
| | |||
*Zombie | *Zombie | ||
*Classic Zombie | *Classic Zombie | ||
Line 63: | Line 67: | ||
*Wil O' Wisp | *Wil O' Wisp | ||
*Cool Wisp | *Cool Wisp | ||
|} | |||
'''On Leaving Class''' | '''On Leaving Class''' | ||
Same as Touching Class but for when leaving the brush. | Same as Touching Class but for when leaving the brush. | ||
{| role="presentation" class="wikitable mw-collapsible mw-collapsed" | |||
| | |||
|- | |||
| | |||
*Zombie | *Zombie | ||
*Classic Zombie | *Classic Zombie | ||
Line 119: | Line 128: | ||
*Wil O' Wisp | *Wil O' Wisp | ||
*Cool Wisp | *Cool Wisp | ||
|} | |||
'''On Touch Respawn Class''' | '''On Touch Respawn Class''' | ||
Any living zombie touching the brush will be set to this class name on death. | Any living zombie touching the brush will be set to this class name on death. | ||
{| role="presentation" class="wikitable mw-collapsible mw-collapsed" | |||
| | |||
|- | |||
| | |||
*Zombie | *Zombie | ||
*Classic Zombie | *Classic Zombie | ||
Line 175: | Line 189: | ||
*Wil O' Wisp | *Wil O' Wisp | ||
*Cool Wisp | *Cool Wisp | ||
|} | |||
'''On Leaving Respawn Class''' | '''On Leaving Respawn Class''' | ||
Same as Touching Respawn Class but for when leaving the brush. | Same as Touching Respawn Class but for when leaving the brush. | ||
{| role="presentation" class="wikitable mw-collapsible mw-collapsed" | |||
| | |||
|- | |||
| | |||
*Zombie | *Zombie | ||
*Classic Zombie | *Classic Zombie | ||
Line 231: | Line 250: | ||
*Wil O' Wisp | *Wil O' Wisp | ||
*Cool Wisp | *Cool Wisp | ||
|} | |||
'''Player Must Be This Class''' | '''Player Must Be This Class''' | ||
Set this to a specific class to change only these zombie types, separate multiple classes with commas. | Set this to a specific class to change only these zombie types, separate multiple classes with commas. | ||
{| role="presentation" class="wikitable mw-collapsible mw-collapsed" | |||
| | |||
|- | |||
| | |||
*Disabled | *Disabled | ||
*Zombie | *Zombie | ||
Line 288: | Line 312: | ||
*Wil O' Wisp | *Wil O' Wisp | ||
*Cool Wisp | *Cool Wisp | ||
|} | |||
'''One Time?''' | '''One Time?''' |
Revision as of 19:08, 9 May 2019
You can directly control the changing of classes with this.
Keyvalues
Enabled <choices>
Enable the brush entity.
- 0: Yes
- 1: No
On Touch Class <choices>
Any living zombie touching the brush will be set to this class name.
|
On Leaving Class
Same as Touching Class but for when leaving the brush.
|
On Touch Respawn Class
Any living zombie touching the brush will be set to this class name on death.
|
On Leaving Respawn Class
Same as Touching Respawn Class but for when leaving the brush.
|
Player Must Be This Class
Set this to a specific class to change only these zombie types, separate multiple classes with commas.
|
One Time?
If yes then anyone who gets swapped will be respawned as the last class they were before the change.
- 0: No
- 1: Yes
Change Instantly?
If yes then anyone who gets swapped will instantly be changed right on the spot.
- 0: No
- 1: Yes
Inputs
input enable <void>
Enable the entity.
input disable <void>
Disable the entity.
input seton <integer>
Enable or Disable the entity.