Target scriptrunner

From MovieBattles II Wiki

Jump to: navigation, search

DESCRIPTION

Triggers a script to run.


SPAWNFLAGS

RUNONACTIVATOR - Will run the script on the entity that used this or tripped the trigger that used this

INACTIVE - Start off


KEYS&VALUES

Usescript - Script to run when used.

count - How many times to run, -1 = infinite. Default is once. (Dont forget this one .. it has caused me many a quizzical look.)

wait - Can't be used again in this amount of seconds. (Default is 1 second if it's multiple-use.)

delay - How long to wait after use to run script.


NOTES

Default script location is the "scripts" folder, so type scriptname or subfolder of script folder then scriptname. Example: If your script is in the folder "scripts\chamber", then you would use: Key: usescript Value: chamber/scriptname

Personal tools