Difference between revisions of "Activate"

28 bytes added ,  00:38, 13 July 2007
Extra Failed Activation note
imported>Haama
(Added Nesting notes)
imported>Haama
(Extra Failed Activation note)
Line 107: Line 107:
   SomeOtherActivator.Activate player, 1
   SomeOtherActivator.Activate player, 1
end</pre>
end</pre>
Note, however, that you can only nest 5 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. This applies to any activation, even if they're different objects or different scripts.
Note, however, that you can only nest 5 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.




Anonymous user