|
This page is under construction. The information on this page may not yet be complete.
|
This page lists all new event scripting objects available in Alpine Faction.
AF_Flow
|
SequenceEach activation of this event routes the message to the next link in sequential order. After the last link, the cycle resets and the first link is called. Note the order of links is determined by the order in which you add them.
Expand for details
On Response Send an on signal to the next link in the sequence.
Off Response None
Parameters
- last_link_index: (int, hidden) Stores the last activated link index. When processing a received on signal, the next index in the links array after this is used.
|
|
Difficulty_GateTests if the game is set to the specified difficulty and forwards messages only if true.
Expand for details
On Response Forward on signal to all links, if the game is set to the specified difficulty.
Off Response None
Parameters
- difficulty: (int, "Life") Set the difficulty to test against. 0 = easy, 1 = medium, 2 = hard, 3 = impossible
|
|
Valid_GateTests if the specified UID is a valid object and forwards messages only if true. In the case of objects that have life values (ie. clutter and entities), "valid" means alive.
Expand for details
On Response Forward on signal to all links, if the specified object is valid.
Off Response None
Parameters
- check_uid: (int, "Life") Object UID to be checked.
|
|
Switch_RandomRandomly select one of this event's links and send an on signal to it.
Expand for details
On Response Send an on signal to a randomly selected link.
Off Response None
Parameters
No additional parameters.
|
|
Fixed_DelayIdentical to the normal Delay event, but cannot be retriggered. Will forward a message to all links after the specified delay. Messages sent to this event while a message is queued are ignored.
Expand for details
On Response Queue a message to be forwarded after the configured delay.
Off Response None
Parameters
No additional parameters.
|
AF_General
|
Clone_EntityCreates a clone of the linked entity with the same properties and settings as its source.
Expand for details
On Response Create a clone at the event's position.
Off Response None
Parameters
No additional parameters.
|
|
Set_Player_World_CollideControl whether the player collides with level geometry.
Expand for details
On Response Collision = true (default)
Off Response Collision = false
Parameters
No additional parameters.
|
|
Set_Level_HardnessSet the hardness for the loaded level (size of geo craters).
Expand for details
On Response Set hardness to the specified value.
Off Response None
Parameters
- hardness: (int, "Life") The hardness value to set.
|
|
HUD_MessageDisplay a green HUD message in the bottom middle of the screen (like the helper text when you pick up items).
Expand for details
On Response Display the HUD message for the configured duration.
Off Response None
Parameters
- message: (string, "Goal To Set") The message to display.
- duration: (int, hidden) Duration (in ms) the message will be displayed. If not specified, defaults to 5000 (5 seconds).
|
|
Play_VideoPlay a .bik format video.
Expand for details
On Response Play the video specified.
Off Response None
Parameters
- filename: (string, "Goal To Set") The filename of the video to play.
|
AF_Utility