Added the description of HOOK_EXPLOSIVETIMER to hookscripts.txt.

Edited the example script.
Updated version number.
This commit is contained in:
NovaRain
2018-07-10 06:09:23 +08:00
parent b4b1698345
commit 09c9c5cce0
4 changed files with 25 additions and 5 deletions
@@ -1,9 +1,16 @@
/*
Example implementation of the algorithm of the game engine setting the timer of explosives.
Example implementation of the algorithm of how the game engine sets the explosive timer.
*/
#include "..\..\scripting_docs\headers\sfall.h"
#include "..\..\scripting_docs\headers\define_lite.h"
// from CONDTION.H
#define ROLL_CRITICAL_FAILURE (0)
#define ROLL_FAILURE (1)
#define ROLL_SUCCESS (2)
#define ROLL_CRITICAL_SUCCESS (3)
procedure start;
procedure start begin