arcticPigs release V1.0 helpefiles |
![]() |
You get an object of type ActionSequence as a return parameter to the Script::addAction command of a script. An actionSequence object lets you alter properties of the action. The term 'sequence' has been chosen as you can add a sequence of start, stop, fade-in, fade-out, pause and continue events. By adding these events you create a mini movie or scene. As scripts can contain many sequences you can create some very complex acting for your characters.
Name | Type | Description |
---|---|---|
custom | ![]() | Sets a custom event. void custom(float time, VARIANT gin, VARIANT jam) |
fadeIn | ![]() | Adds a Fade-in event to the action-sequence. void fadeIn(float time,float fadetime, float finalfadetime) |
fadeOut | ![]() | Adds a fade-out event to the action-sequence. At the end of a fade-out the action is paused void fadeOut(float time, float fadetime) |
goTo | ![]() | Adds a GoTo event to the action-sequence. void goTo(float eventtime as Float, float gototime) |
pause | ![]() | Adds a pause event to the sequence. void pause(float time) |
restart | ![]() | Adds a restart event to the sequence. void restart(float time) |
start | ![]() | Adds a start event to the sequence. void start(float time) |
stop | ![]() | Adds a stop event to the sequence. void stop(float time) |
xfade | ![]() | Adds a cross-fade event to the action-sequence. void xfade( finalAction as actionSequence, float eventtime, float fadetime, float finalfadetime) |
action | ![]() | Returns an instance of the actionFile this ActionSequence refers to. |
BLENDMODE | ![]() | Sets or retrieves the blend mode. |
blendVal | ![]() | Sets the blend percentage |
events | ![]() | Returns an events collection class with all the event objects. |
holdOnFinal | ![]() | Indicates if this action is held at the final frame or if the action is de-activated. |
loopEnd | ![]() | For a cropped and looped action, this sets the end point of the loop. |
loopLength | ![]() | Sets or retrieves the total length of time taken to play a single loop. |
loopStart | ![]() | For a cropped and looped action, this sets the start point of the loop. |
model | ![]() | Get the model instance this sequence refers to. |
name | ![]() | Sets or retrieves the name of your sequence. |
repeatCount | ![]() | Sets or retrieves the total number of times the action will be looped before it stops. |
type | ![]() | Returns SQ_ACTION ( numerical value =0 ) |
Last Updated: 06/19/02 |