IsActionComplete - Scene

From Creation Kit
Jump to: navigation, search

Member of: Scene Script

Checks to see if the specified action in this scene is completed.

Syntax

bool Function IsActionComplete(int aiActionID) native

Parameters

  • aiActionID: The ID of the action to check.

Return Value

Whether the specified action is completed or not.

Examples

; Has action 20 finished?
if (MySceneProperty.IsActionComplete(20))
  Debug.Trace("Finished action 20 in my scene")
endIf

See Also