SandboX: Difference between revisions
No edit summary |
|||
Line 7: | Line 7: | ||
===Available Actions=== | |||
* (DA) Destroy Action | * (DA) Destroy Action | ||
* (SV) Spawning Vehicles | * (SV) Spawning Vehicles | ||
Line 25: | Line 26: | ||
* (EX) Create Explosion | * (EX) Create Explosion | ||
===Upcoming Actions=== | |||
* (TX) Set Texture | |||
* (MO) Move Object | |||
== Triggers == | == Triggers == |
Revision as of 22:23, 16 September 2024

GX Function is a creative tool that enables players to create in-game functions with the use of actions and triggers. Actions can be triggered by specific conditions, enhancing gameplay by introducing dynamic interactions and automated events.
Actions
Actions are activations of functions that players can initiate within the game. Action types include:
Available Actions
- (DA) Destroy Action
- (SV) Spawning Vehicles
- (SP) Spawning Pickups
- (TP) Teleport
- (CM) Client Message
- (TD) TextDraw
- (GT) Game Text
- (SH) Set Health
- (DI) Disarm
- (TI) Set Timer
- (GG) Give Gun
- (CO) Create Object
- (CP) Create Checkpoint
- (CC) Initiate Cinematic Camera Mode
- (PS) Play Sound
- (FP) Freeze Player
- (EX) Create Explosion
Upcoming Actions
- (TX) Set Texture
- (MO) Move Object
Triggers
Triggers are conditions that activate an action. Trigger types include:
- (CP) On Enter Checkpoint
- (SP) On Pickup
- (CO) On Moving Object Start or Stop
- (TI) On Timer End
- (SV) On Vehicle Destroyed
Channels
Channels associate triggers with their corresponding actions. Each channel can contain multiple triggers and multiple actions. When any trigger within a channel is executed, it activates all the actions associated with that channel.
Workflow
Define Actions: Identify and define the actions in the desired channel.
Set Triggers: Establish the trigger(s) that will activate these actions.
Execution: When a trigger is activated, all associated actions within the channel are executed.
Example
Trigger: A player walks into a checkpoint.
Channel: The channel associates the checkpoint trigger with the actions of spawning a vehicle and teleporting the player.
Action: When the player walks into the checkpoint, the vehicle spawns, and the player is teleported.