Modding:Active Parts: Difference between revisions

Jump to navigation Jump to search
Line 578: Line 578:
</syntaxhighlight>
</syntaxhighlight>


Calls <code>pProc</code> on each of the active part's subjects, terminating if <code>pProc</code> returns false. <code>MayMoveAddOrDestroy</code> should be set to true if the code in <code>pProc</code> might result in any object being moved, created, or destroyed.
Calls <code>pProc</code> on each of the active part's subjects, terminating if <code>pProc</code> returns false.
 
<code>MayMoveAddOrDestroy</code> should be set to true if the code in <code>pProc</code> might result in any object being moved, created, or destroyed; otherwise, there is a risk of exceptions being thrown due to loop control disruption.


====AnyActivePartSubjectWantsEvent()====
====AnyActivePartSubjectWantsEvent()====
671

edits

Navigation menu