Difference between revisions of "Crashes"

2 bytes added ,  11:08, 21 September 2014
m
→‎Activate Self: Typo correction
imported>Shademe
(Moved question to Talk page)
imported>Syscrusher
m (→‎Activate Self: Typo correction)
Line 76: Line 76:
</pre>
</pre>
you can cause an CTD. It seems that self-activation causes the entire script to run from the top, including the [[GameMode]] block, and so will [[Activate]] itself infinitely. You can prevent this by placing the [[OnActivate]] block before the self-activation, as such:
you can cause an CTD. It seems that self-activation causes the entire script to run from the top, including the [[GameMode]] block, and so will [[Activate]] itself infinitely. You can prevent this by placing the [[OnActivate]] block before the self-activation, as such:
<pre>begin onActive
<pre>begin onActivate
...
...
end
end
Anonymous user