mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-01 01:52:02 +00:00
Updated Lua Parser (markdown)
+3
-3
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user