mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-25 16:52:25 +00:00
Updated Lua Parser (markdown)
parent
8266891ba7
commit
d29ba6fe55
@ -90,6 +90,13 @@ Note: Encounter scripts cannot properly catch EVENT_COMMAND or EVENT_TRADE unles
|
|||||||
### Events
|
### Events
|
||||||
|
|
||||||
Quest scripts are event based, the following events are currently responded to by the Lua parser:
|
Quest scripts are event based, the following events are currently responded to by the Lua parser:
|
||||||
|
|
||||||
|
All event functions are passed one argument: an event table.
|
||||||
|
For NPCs the table will always have 'self' as the npc.
|
||||||
|
For Players the table will always have 'self' as the client.
|
||||||
|
For Items the table will always have 'self' as the item and 'owner' as the owner of the item.
|
||||||
|
For Spells the table will always have 'self' as the spell.
|
||||||
|
|
||||||
* event_say
|
* event_say
|
||||||
* event_trade
|
* event_trade
|
||||||
* event_death
|
* event_death
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user