Absolute beginner's guide to scripting: Difference between revisions
Absolute beginner's guide to scripting (view source)
Revision as of 22:23, 20 January 2012
, 20 January 2012→Starting and Stopping your script
>JulienDethurens |
>JulienDethurens |
||
Line 90: | Line 90: | ||
===Starting and Stopping your script=== | ===Starting and Stopping your script=== | ||
Script objects run their code under the following conditions: | Script objects run their code under the following conditions: | ||
* The script is added to the game (Select the script in the Explorer window and cut it (CTRL+X), then paste it back into the game (CTRL+V, or right click Workspace and click | * The script is added to the game (Select the script in the Explorer window and cut it (CTRL+X), then paste it back into the game (CTRL+V, or right click Workspace and click "Paste Into"). | ||
* The script's disabled property is changed to false (select the script in the Explorer window and toggle it's Disabled property in the Properties window). | * The script's disabled property is changed to false (select the script in the Explorer window and toggle it's Disabled property in the Properties window). | ||