From 4dc0c1970194079c644966e0e6264b92439581b6 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 25 Jun 2013 14:04:25 -0700 Subject: [PATCH] Updated Lua Parser (markdown) --- Lua-Parser.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Lua-Parser.md b/Lua-Parser.md index bb8a7ad..c1aac11 100644 --- a/Lua-Parser.md +++ b/Lua-Parser.md @@ -101,8 +101,10 @@ Void register_spell_event(String name, Integer evt, Integer spell_id, luafunctio Note: Passing a value of -1 for npc, item or spell id to watch will watch every npc, item or spell for those events. ``` -Note: Encounter scripts cannot properly catch EVENT_COMMAND or EVENT_TRADE unless an existing quest is already listening for them. -Encounter scripts also run before any normal script. +Note: +* Encounter scripts cannot properly catch EVENT_COMMAND or EVENT_TRADE unless an existing quest is already listening for them. +* Encounter scripts also run before any normal script. +* Encounter scripts can not currently return a non-zero value back to the server for the events that use them (I would like to change this at some point but it requires more planning). ### NPC Events