SandboX: Difference between revisions
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[File:Sa-mp-748.png|right|thumb|alt=Description|Function Editing Chart when pressing *WALK KEY*.]] | [[File:Sa-mp-748.png|right|thumb|alt=Description|Function Editing Chart when pressing *WALK KEY*.]] | ||
SandboX the ultimate sandbox tool is a creative tool that enables players to create in-game functions. Functions under the right condition can be triggered and call other functions, enhancing gameplay by introducing dynamic interactions and automated events. | |||
== | == Functions == | ||
Functions define specific actions that players can initiate within the game. Function types include: | |||
===Available | ===Available Functions=== | ||
* (DA) Destroy | * (DA) Destroy Function | ||
* (SV) Spawning Vehicles | * (SV) Spawning Vehicles | ||
* (SP) Spawning Pickups | * (SP) Spawning Pickups | ||
Line 25: | Line 25: | ||
* (EX) Create Explosion | * (EX) Create Explosion | ||
===Upcoming | ===Upcoming Functions=== | ||
* (OT) Set Object Texture | * (OT) Set Object Texture | ||
* (MO) Move Object | * (MO) Move Object | ||
* (OV) Attach Object to Vehicle | * (OV) Attach Object to Vehicle | ||
* (OS) Load Object Set | |||
* (VC) Turn vehicle collision off | |||
* (AF) Enable autofix | |||
* (GM) Enable godmode | |||
== | ===Event Functions=== | ||
* (GP) Give Point | |||
* (RP) Remove Point | |||
===Available | == Conditions == | ||
Under the right condition functions can trigger functions. Condition types include: | |||
===Available Conditions=== | |||
* (CP) On Enter Checkpoint | * (CP) On Enter Checkpoint | ||
* (SP) On Pickup | * (SP) On Pickup | ||
Line 40: | Line 48: | ||
* (SV) On Vehicle Destroyed | * (SV) On Vehicle Destroyed | ||
===Upcoming | ===Upcoming Conditions=== | ||
* (PD) On Player Death | * (PD) On Player Death | ||
* (OD) On Object Destroyed | * (OD) On Object Destroyed | ||
== Channels == | == Channels == | ||
Channels | Channels connect triggers to associated functions. Channels act as intermediaries for flexibility and modularity. Each channel may contain multiple conditions and multiple functions. When any condition within a channel is met, it calls all the functions associated with that channel. | ||
===Random Channel=== | |||
(Upcoming update) | |||
During the channel selection process, typing r instead of a channel number will allow the selection of multiple channels. When the associated condition is met a random channel will be selected. | |||
== Workflow == | == Workflow == | ||
* Conditions: Logical checks, events or states that initiate the process (e.g., car explosion, checkpoint entry, on pickup). | |||
* Channels: Channels act as intermediaries that call associated functions. | |||
* Functions: Define specific actions (e.g., spawn vehicle, teleport player, give weapon). | |||
== Upcoming Features == | |||
===SandboX Debugging Mode=== | |||
When debugging mode is enabled, players will receive messages when certain functions and conditions are called. | |||
* Level 1 - Only conditions and functions that relate to the player are displayed. | |||
* Level 2 - Conditions and functions that relate to the player and their team are displayed. | |||
* Level 3 - All conditions and functions are displayed. | |||
Latest revision as of 04:54, 15 December 2024

SandboX the ultimate sandbox tool is a creative tool that enables players to create in-game functions. Functions under the right condition can be triggered and call other functions, enhancing gameplay by introducing dynamic interactions and automated events.
Functions
Functions define specific actions that players can initiate within the game. Function types include:
Available Functions
- (DA) Destroy Function
- (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 Functions
- (OT) Set Object Texture
- (MO) Move Object
- (OV) Attach Object to Vehicle
- (OS) Load Object Set
- (VC) Turn vehicle collision off
- (AF) Enable autofix
- (GM) Enable godmode
Event Functions
- (GP) Give Point
- (RP) Remove Point
Conditions
Under the right condition functions can trigger functions. Condition types include:
Available Conditions
- (CP) On Enter Checkpoint
- (SP) On Pickup
- (CO) On Moving Object Start or Stop
- (TI) On Timer End
- (SV) On Vehicle Destroyed
Upcoming Conditions
- (PD) On Player Death
- (OD) On Object Destroyed
Channels
Channels connect triggers to associated functions. Channels act as intermediaries for flexibility and modularity. Each channel may contain multiple conditions and multiple functions. When any condition within a channel is met, it calls all the functions associated with that channel.
Random Channel
(Upcoming update) During the channel selection process, typing r instead of a channel number will allow the selection of multiple channels. When the associated condition is met a random channel will be selected.
Workflow
- Conditions: Logical checks, events or states that initiate the process (e.g., car explosion, checkpoint entry, on pickup).
- Channels: Channels act as intermediaries that call associated functions.
- Functions: Define specific actions (e.g., spawn vehicle, teleport player, give weapon).
Upcoming Features
SandboX Debugging Mode
When debugging mode is enabled, players will receive messages when certain functions and conditions are called.
- Level 1 - Only conditions and functions that relate to the player are displayed.
- Level 2 - Conditions and functions that relate to the player and their team are displayed.
- Level 3 - All conditions and functions are displayed.