mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
08217f460e
* Explosives - Add code handler for detonation * Add info to wiki * Fix cellphone in demo code, move example to wiki
31 lines
392 B
Plaintext
31 lines
392 B
Plaintext
/*
|
|
* Author: Garth 'L-H' de Wet
|
|
* Initialises the explosives system
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* None
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
ADDON = false;
|
|
|
|
PREP_RECOMPILE_START;
|
|
#include "XEH_PREP.hpp"
|
|
PREP_RECOMPILE_END;
|
|
|
|
if (isServer) then {
|
|
GVAR(explosivesOrientations) = []
|
|
};
|
|
|
|
GVAR(detonationHandlers) = [];
|
|
|
|
ADDON = true;
|