SandboX

From GamerX.mp Wiki
Jump to navigation Jump to search
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 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.