Difference between revisions of "Scene Script"

87 bytes added ,  05:25, 24 October 2013
m
→‎Member Functions: Formatting Change
imported>Jog
imported>CraftySentinel
m (→‎Member Functions: Formatting Change)
Line 19: Line 19:


== Member Functions ==
== Member Functions ==
'''Function [[ForceStart - Scene|ForceStart]]()'''
*Forces the scene to start playing and kills any other scenes running on actors this scene needs.


'''Quest Function [[GetOwningQuest - Scene|GetOwningQuest]]()'''
{|class="wikitable" width =100%
*Returns the [[Quest Script|Quest]] that owns this scene.
!style="text-align:left;"|Function
!style="text-align:left;"|Description
|-
|[[ForceStart - Scene|'''ForceStart'''()]]
|Forces the scene to start playing and kills any other scenes running on actors this scene needs.
|-


'''bool Function [[IsActionComplete - Scene|IsActionComplete]](int aiActionID)'''
|[[GetOwningQuest - Scene|Quest '''GetOwningQuest'''()]]
*Returns whether the specified action is complete or not.
|Returns the [[Quest Script|Quest]] that owns this scene.
|-


'''bool Function [[IsPlaying - Scene|IsPlaying]]()'''
|[[IsActionComplete - Scene|Bool '''IsActionComplete'''(Int ''aiActionID'')]]
*Returns whether the scene is currently playing or not.
|Returns whether the specified action is complete or not.
|-


'''Function [[Start - Scene|Start]]()'''
|[[IsPlaying - Scene|Bool '''IsPlaying'''()]]
*Starts the scene.
|Returns whether the scene is currently playing or not.
|-


'''Function [[Stop - Scene|Stop]]()'''
|[[Start - Scene|'''Start'''()]]
*Stops the scene.
|Starts the scene.
|-
 
|[[Stop - Scene|'''Stop'''()]]
|Stops the scene.
|-
 
|}


== Events ==
== Events ==