From a2dec941492c9b7e56e3e34600e3fba9937cbf65 Mon Sep 17 00:00:00 2001 From: panikon Date: Sat, 10 May 2014 01:36:18 -0300 Subject: Small changes in npc loading/reloading Compartmentalized npc file processing Corrected event initalisation order in npc_reload Changed loading order, now item db constants are loaded before npc processing in order to avoid labels overwriting constants values, like Aegis Names Added information regarding reloading scripts in /doc/script_commands.txt --- doc/script_commands.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/script_commands.txt') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 898e4e331..31574d0a2 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -1013,7 +1013,8 @@ OnInit will execute every time the scripts loading is complete, including when they are reloaded with @reloadscript command. OnInterIfInit will execute when the map server connects to a char server, OnInterIfInitOnce will only execute once and will not execute if the map server reconnects -to the char server later. +to the char server later. Note that all those events will be executed upon +scripts reloading. OnAgitStart: OnAgitEnd: -- cgit v1.2.3-60-g2f50