![]() |
Rigs of Rods 2026.01
Soft-body Physics Simulation
|
^AngelScript^ Documents built-in scripts of the game.
Namespaces | |
| namespace | Script2Script |
Data Structures | |
| class | Script2Script::racesManager |
| class | Script2Script::raceBuilder |
Functions | |
| funcdef void | Script2Script::RACE_EVENT_CALLBACK (dictionary@) |
| void | Script2Script::raceEvent (int trigger_type, string inst, string box, int nodeid) |
| void | Script2Script::raceCancelPointHandler (int trigger_type, string inst, string box, int nodeid) |
| funcdef void Script2Script::RACE_EVENT_CALLBACK | ( | dictionary@ | ) |
A function signature for the callback pointers.
When you need to use a RACE_EVENT_CALLBACK as parameter, then you should create a function that receives a dictionary@ as parameter. Example:
| void Script2Script::raceCancelPointHandler | ( | int | trigger_type, |
| string | inst, | ||
| string | box, | ||
| int | nodeid | ||
| ) |
called when the user drives through a cancel point
| void Script2Script::raceEvent | ( | int | trigger_type, |
| string | inst, | ||
| string | box, | ||
| int | nodeid | ||
| ) |
called when the user drives through a checkpoint