Difference between revisions of "Activate"

76 bytes added ,  05:31, 30 July 2008
→‎Nesting: Note on result scripts
imported>Kkuhlmann
imported>Haama
(→‎Nesting: Note on result scripts)
Line 75: Line 75:
end</pre>
end</pre>
You can only nest 5-6 activations at a time. At a time is a little hard to define here, since [[OnActivate]] blocks run instantly and before the next line of code is processed. This really means that if 4 other scripts are still being processed and an activation is made during the 5th script, that last activation will be ignored (the script skips the line). This applies to any activation, even if they're different objects or different scripts.
You can only nest 5-6 activations at a time. At a time is a little hard to define here, since [[OnActivate]] blocks run instantly and before the next line of code is processed. This really means that if 4 other scripts are still being processed and an activation is made during the 5th script, that last activation will be ignored (the script skips the line). This applies to any activation, even if they're different objects or different scripts.
*Using a result script to activate the next script, the limit is still 5-6.


==See Also==
==See Also==
Anonymous user