Difference between revisions of "Crashes"
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 | <pre>begin onActivate | ||
... | ... | ||
end | end |