Related Pages:
Arguments: 1) real: objID 2) real const: renderCommandType 3+) real: args... Returns: real: index
Adds a render command to the object's render sequence and returns its index.
Required arguments for each type vary, see the list of commands for more details.
Arguments: 1) real: objID
Removes the last render command from the object's render sequence.
Arguments: 1) real: objID 2) real: size
Initializes the object's render sequence, optionally reserving space (0 or NULL to ignore) for size commands.
Arguments: 1) real: objID 2) real: dataSeqID
Sets the object's render sequence to objSeqID, which must be a RenderSequenceData.
Arguments: 1) real: objID 2) real: objID2
Copies objID2's render sequence to objID.
Arguments: 1) real: objID
Starts playing the object's render sequence from the beginning.
Arguments: 1) real: objID
Starts playing the object's render sequence from the beginning.
This is an alias for ObjRender_PlaySequence.
Arguments: 1) real: objID 2) bool: bCancelTweens
Stops playing the object's render sequence.
if bCancelTweens is true, cancels any TWEEN type commands.
Arguments: 1) real: objID 2) bool: bCancelTweens
Pauses the object's render sequence without resetting its state.
if bCancelTweens is true, cancels any TWEEN type commands.
Arguments: 1) real: objID
Resumes playing a previously paused object's render sequence.
Arguments: 1) real: objID 2) real: jumpIndex
Patches the jump at jumpIndex in the render sequence to point to the next added render command.
Arguments: 1) real: objID 2) function: funcOnFinish
Sets the function to call after the render sequence finishes executing.
funcOnFinish cannot be task or sub and must take 1 parameter.
Arguments: 1) real: objID Returns: real: timer
Returns the render sequence's current timer value. This is set by RC_WAIT and counts down to 0.
Arguments: 1) real: objID 2) real: timer
Sets the render sequence's timer value directly. A command of type RC_WAIT should be used instead for most cases.
Arguments: 1) real: objID Returns: real: index
Returns the render sequence's current instruction index.
This may be inaccurate during execution, since render sequences run ahead of scripts.
Arguments: 1) real: objID 2) real: index
Sets the render sequence's instruction index directly.
This can be useful for setting the initial index to start at.
Arguments: 1) real: objID Returns: bool: bStopped
Returns true if the sequence is stopped or finished, otherwise returns false.
Arguments: 1) real: objID Returns: bool: bPaused
Returns true if the sequence is paused, otherwise returns false.
Arguments: 1) real: objID Returns: bool: bRunning
Returns true if the sequence is running, otherwise returns false.