From 5e8f45c5f134f46c3b1f6416641fbff323d70808 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 11 Jun 2013 12:02:57 -0700 Subject: [PATCH] Updated Lua Parser (markdown) --- Lua-Parser.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lua-Parser.md b/Lua-Parser.md index d067fc0..d5fd255 100644 --- a/Lua-Parser.md +++ b/Lua-Parser.md @@ -83,9 +83,9 @@ Encounter scripts listen for specific events from other script types with the fo ``` void register_npc_event(std::string name, int evt, int npc_id, luafunction func); -void register_player_event(std::string name, int evt, luafunction func); -void register_item_event(std::string name, int evt, Lua_Item item, luafunction func); -void register_spell_event(std::string name, int evt, int spell_id, luafunction func); +void register_player_event(std::string name, int evt, luafunction func); +void register_item_event(std::string name, int evt, Lua_Item item, luafunction func); +void register_spell_event(std::string name, int evt, int spell_id, luafunction func); ``` Note: Encounter scripts cannot properly catch EVENT_COMMAND or EVENT_TRADE unless an existing quest is already listening for them.