Category:Script Events
Appearance
The following is an index of script event hooks.
Script events are points during engine activity where OpenBOR executes either a native script or a user-defined script. Provided the script file exists and has been loaded, OpenBOR calls the main() function within that file.
Depending on its purpose, the script may modify properties, alter how the event is processed, or cancel the parent event entirely.
For example, OpenBOR checks for data/scripts/update.c when the game starts. When the file exists, OpenBOR loads it and executes its main() function during every internal engine update.
Pages in category "Script Events"
The following 77 pages are in this category, out of 77 total.
M
O
- On bind update other to self script
- On bind update self to other script
- Onblockoscript
- Onblockpscript
- Onblocksscript
- Onblockwscript
- Onblockyscript
- Onblockzscript
- Ondeathscript
- Ondoattackscript
- Ondrawscript
- Onfallscript
- Onkillscript
- Onmodelcopyscript
- Onmovexscript
- Onmoveyscript
- Onmovezscript
- Onpainscript
- Onspawnscript