Alpine Level Design: Difference between revisions
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
|on = Forward on signal to all links, if the specified object is valid. | |on = Forward on signal to all links, if the specified object is valid. | ||
|params = * '''check_uid:''' (int, "Life") Object UID to be checked. | |params = * '''check_uid:''' (int, "Life") Object UID to be checked. | ||
}} | |||
{{Infobox RF1Event | |||
|eventname = Inside_Gate | |||
|category = AF_Flow | |||
|description = Tests if an object (default: the player who activated the event) is in a specified area of the map. Forwards messages if true. | |||
|on = Forward on signal to all links if test passes. | |||
|params = * '''check_uid:''' (int, "Life") Region to be checked. Can be a trigger UID or a room UID (Room Effect). | |||
* '''test_uid:''' (int, hidden) Object to be checked. Defaults to the player who activated the event. | |||
}} | }} | ||
</div><div class="column> | </div><div class="column> | ||
Line 64: | Line 72: | ||
** '''geinit''' - Goal count is greater than or equal to its initial value. | ** '''geinit''' - Goal count is greater than or equal to its initial value. | ||
** '''eqinit''' - Goal count is equal to its initial value. | ** '''eqinit''' - Goal count is equal to its initial value. | ||
}} | |||
{{Infobox RF1Event | |||
|eventname = Environment_Gate | |||
|category = AF_Utility | |||
|description = Performs a test on the environment of the game. Forwards message to links only if test passes. | |||
|on = Perform test and forward message if passed. | |||
|params = * '''environment:''' (string, "Goal To Set") Specify the test to run. Must be one of the below, specified exactly. | |||
** '''multi''' - Event is running in multiplayer. | |||
** '''single''' - Event is running in single player. | |||
** '''server''' - Event is running on a server (listen or dedicated). | |||
** '''dedicated''' - Event is running on a dedicated server. | |||
** '''client''' - Event is running on a client. | |||
}} | }} | ||
</div><div style="clear: both;"></div> | </div><div style="clear: both;"></div> |
Revision as of 21:31, 25 November 2024
EXPLORE
EXPLORE
EXPLORE
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
|
Difficulty_GateTests if the game is set to the specified difficulty and forwards messages only if true.On Response Forward on signal to all links, if the game is set to the specified difficulty.
Off Response None
Parameters
|
|
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.On Response Forward on signal to all links, if the specified object is valid.
Off Response None
Parameters
|
|
Inside_GateTests if an object (default: the player who activated the event) is in a specified area of the map. Forwards messages if true.On Response Forward on signal to all links if test passes.
Off Response None
Parameters
|
|
Switch_RandomRandomly select one of this event's links and send an on signal to it.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.On Response Queue a message to be forwarded after the configured delay.
Off Response None
Parameters
No additional parameters. |
|
Goal_GatePerforms a test on a specified goal (integer variable). Forwards message to links only if test passes.On Response Perform test and forward message if passed.
Off Response None
Parameters
|
|
Environment_GatePerforms a test on the environment of the game. Forwards message to links only if test passes.On Response Perform test and forward message if passed.
Off Response None
Parameters
|
AF_General
|
Clone_EntityCreates a clone of the linked entity with the same properties and settings as its source.On Response Create a clone at the event's position.
Off Response None
Parameters
No additional parameters. |
|
HUD_MessageDisplay a green HUD message in the bottom middle of the screen (like the helper text when you pick up items).On Response Display the HUD message for the configured duration.
Off Response None
Parameters
|
AF_Utility
|
SetVarReconfigure 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 Response Set var_name to var_value on all linked events.
Off Response None
Parameters
|
|
Remove_LinkUsed to remove links. If "remove_all" is turned off (default), removes links between objects this event is linked to. If "remove_all" is turned on, remove all links between every object this event is linked to and any other objects.On Response Remove links.
Off Response None
Parameters
|
|
Goal_MathUsed to perform math operations on goals (integer variables). Applies the operation to any level (non-persistent) goals, as well as any persistent goals that are loaded.On Response Apply the operation.
Off Response None
Parameters
|