Difference between revisions of "Trigger zombieclass"

From Sunrust Wiki
Jump to navigation Jump to search
 
Line 4: Line 4:
'''Enabled''' <choices>
'''Enabled''' <choices>


Enable the brush entity.
: Enable the brush entity.
*0: No
*0: No
*1: Yes
*1: Yes
Line 10: Line 10:
'''On Touch Class''' <choices>
'''On Touch Class''' <choices>


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"
{| role="presentation" class="wikitable mw-collapsible mw-collapsed"
|  
|  
Line 71: Line 71:
'''On Leaving Class''' <choices>
'''On Leaving Class''' <choices>


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"
{| role="presentation" class="wikitable mw-collapsible mw-collapsed"
|  
|  
Line 132: Line 132:
'''On Touch Respawn Class''' <choices>
'''On Touch Respawn Class''' <choices>


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"
{| role="presentation" class="wikitable mw-collapsible mw-collapsed"
|  
|  
Line 193: Line 193:
'''On Leaving Respawn Class''' <choices>
'''On Leaving Respawn Class''' <choices>


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"
{| role="presentation" class="wikitable mw-collapsible mw-collapsed"
|  
|  
Line 254: Line 254:
'''Player Must Be This Class''' <choices>
'''Player Must Be This Class''' <choices>


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"
{| role="presentation" class="wikitable mw-collapsible mw-collapsed"
|  
|  
Line 316: Line 316:
'''One Time?''' <choices>
'''One Time?''' <choices>


If yes then anyone who gets swapped will be respawned as the last class they were before the change.
: If yes then anyone who gets swapped will be respawned as the last class they were before the change.
*0: No
*0: No
*1: Yes
*1: Yes
Line 322: Line 322:
'''Change Instantly?''' <choices>
'''Change Instantly?''' <choices>


If yes then anyone who gets swapped will instantly be changed right on the spot.
: If yes then anyone who gets swapped will instantly be changed right on the spot.
*0: No
*0: No
*1: Yes
*1: Yes
Line 329: Line 329:
'''input enable''' <void>
'''input enable''' <void>


Enable the entity.
: Enable the entity.


'''input disable''' <void>
'''input disable''' <void>


Disable the entity.
: Disable the entity.


'''input seton''' <integer>
'''input seton''' <integer>


Set Enabled keyvalue.
: Set Enabled keyvalue.


'''input settouchclass''' <string>
'''input settouchclass''' <string>


Set On Touch Class keyvalue.
: Set On Touch Class keyvalue.


'''input setendtouchclass''' <string>
'''input setendtouchclass''' <string>


Set On Leaving Class keyvalue.
: Set On Leaving Class keyvalue.


'''input settouchdeathclass''' <string>
'''input settouchdeathclass''' <string>


Set On Touch Respawn Class keyvalue.
: Set On Touch Respawn Class keyvalue.


'''input setendtouchdeathclass''' <string>
'''input setendtouchdeathclass''' <string>


Set On Leaving Respawn Class keyvalue.
: Set On Leaving Respawn Class keyvalue.


'''input setonetime''' <integer>
'''input setonetime''' <integer>


Set One Time keyvalue.
: Set One Time keyvalue.


'''input setinstantchange''' <integer>
'''input setinstantchange''' <integer>


Set Change Instantly keyvalue.
: Set Change Instantly keyvalue.


''' setonlywhenclass''' <string>
''' setonlywhenclass''' <string>


Set Only When Class keyvalue.
: Set Only When Class keyvalue.
__NOEDITSECTION__
__NOEDITSECTION__

Latest revision as of 20:35, 12 May 2019

You can directly control the changing of classes with this.

Keyvalues

Enabled <choices>

Enable the brush entity.
  • 0: No
  • 1: Yes

On Touch Class <choices>

Any living zombie touching the brush will be set to this class name.

On Leaving Class <choices>

Same as Touching Class but for when leaving the brush.

On Touch Respawn Class <choices>

Any living zombie touching the brush will be set to this class name on death.

On Leaving Respawn Class <choices>

Same as Touching Respawn Class but for when leaving the brush.

Player Must Be This Class <choices>

Set this to a specific class to change only these zombie types, separate multiple classes with commas.

One Time? <choices>

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? <choices>

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>

Set Enabled keyvalue.

input settouchclass <string>

Set On Touch Class keyvalue.

input setendtouchclass <string>

Set On Leaving Class keyvalue.

input settouchdeathclass <string>

Set On Touch Respawn Class keyvalue.

input setendtouchdeathclass <string>

Set On Leaving Respawn Class keyvalue.

input setonetime <integer>

Set One Time keyvalue.

input setinstantchange <integer>

Set Change Instantly keyvalue.

setonlywhenclass <string>

Set Only When Class keyvalue.