Wiki

Case Status
Log In

Wiki

 
Home ยป Action Reference»ScriptControl Actions»Add Script
Index
Navigation
Community Wiki

Add Script

Adds a script to a game object. Use this to change behaviour of objects on the fly. 

Game Object
The game object to add the script to.
Script
Select any script in your project. The script will be added to the game object when the state is entered.
Remove On Exit
Removes the script on exiting the state.

 

Note: The script added with this action must know how to initialize itself. If the script needs user setup in the editor, add it to the object, set it up, then use Enable Behaviour to turn it off and on.


Last modified on 2/8/2011 12:45 PM by User.

  • RSS Feed