Alpine Level Design: Difference between revisions

From Red Faction Wiki
No edit summary
Line 84: Line 84:
<div class="column">
<div class="column">
{{Infobox RF1Event
{{Infobox RF1Event
|eventname      =  
|eventname      = SetVar
|category      = AF_Utility
|category      = AF_Utility
|description    =  
|description    = Reconfigure a variable on linked events. Only supports new Alpine Faction events. Supports "delay" (float) as a variable name to set event delay. Other variable names are as indicated on this page. Specify the name of the variable to be set in the script name for SetVar using this scripe name format: "SetVar_VARNAME" where "VARNAME" is the variable name.
|on            =  
|on            = Set var_name to var_value on all linked events.
|params        = * ''':''' P
|params        = * '''var_name:''' (string, set via script name) The name of the variable to be set.
* '''var_value:''' (string, "Goal To Set") The value to set var_name to. You must ensure you are providing a valid value for the type of the variable you are setting. If not specified, defaults to a blank string.
}}
}}
</div><div class="column>
</div><div class="column>
{{Infobox RF1Event
{{Infobox RF1Event
|eventname      =  
|eventname      = Clear_Queued
|category      = AF_Utility
|category      = AF_Utility
|description    =  
|description    = Clears queued message (if any) on all linked events. Queued messages are messages that are queued per a configured delay value on that event.
|on            =  
|on            = Clear queued messages.
}}
}}
</div><div style="clear: both;"></div>
</div><div style="clear: both;"></div>

Revision as of 22:12, 24 November 2024



This page lists all new event scripting objects available in Alpine Faction.

AF_Flow

Icon Event E.png

Sequence

Each 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.
Icon Event E.png

Difficulty_Gate

Tests if the game is set to the specified difficulty and forwards messages only if true.
Icon Event E.png

Valid_Gate

Tests 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.
Icon Event E.png

Switch_Random

Randomly select one of this event's links and send an on signal to it.
Icon Event E.png

Fixed_Delay

Identical 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.

AF_General

Icon Event E.png

Clone_Entity

Creates a clone of the linked entity with the same properties and settings as its source.
Icon Event E.png

Set_Player_World_Collide

Control whether the player collides with level geometry.
Icon Event E.png

Set_Level_Hardness

Set the hardness for the loaded level (size of geo craters).
Icon Event E.png

HUD_Message

Display a green HUD message in the bottom middle of the screen (like the helper text when you pick up items).
Icon Event E.png

Play_Video

Play a .bik format video.

AF_Utility

Icon Event E.png

SetVar

Reconfigure a variable on linked events. Only supports new Alpine Faction events. Supports "delay" (float) as a variable name to set event delay. Other variable names are as indicated on this page. Specify the name of the variable to be set in the script name for SetVar using this scripe name format: "SetVar_VARNAME" where "VARNAME" is the variable name.
Icon Event E.png

Clear_Queued

Clears queued message (if any) on all linked events. Queued messages are messages that are queued per a configured delay value on that event.