Functions
List and explanation of all functions and how to use them. (Work in progress)
Basic Information
You are able to call premade functions or events.
If you call unique names, then you are able to trigger spawning of NPCs or enable action spots.
Functions are triggered one by one.
How to call events
How to call unique functions
I mention above that you are able to call your own unique function names. With this feature you can assign NPCs and action spots to these unique names to spawn/create/trigger them. It works also for premade functions like: START, MAIN
List of Premade Functions
Complete list of premade functions and explanation of them.
START
Triggers 'cooldown' timer of heist, also function Start() that is defined in every heist configuration.
MAIN
This function triggers automatically for player that joins the server. You are not able to call this function, because it has automatic system for that, but you are able to modify the content of this function inside of any heist configuration.
CLEAR
Clears all entities and disables checkpoints with actions spots. Only works if heist has ongoing cooldown.
CALL_ALERT
Triggers alert to all defined jobs in main config of script.
SET_NPC_STATE
Calling this function you are able to switch relationships between players and npcs in heist.
Read more NPC system functionality at this link
Function List
Last updated