This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:data:pages:server_plugin [2020/10/15 03:34] ryo [Attacks] |
wiki:data:pages:server_plugin [2020/10/15 03:37] ryo [Timer] |
||
---|---|---|---|
Line 97: | Line 97: | ||
Generated when the object dies. | Generated when the object dies. | ||
+ | ==== Destroy ==== | ||
+ | Archetype: event_destroy | ||
+ | |||
+ | Used when the object is totally destroyed, either by a map reset or destruction by another item. | ||
+ | |||
+ | "op" is the object being destroyed. | ||
+ | |||
+ | The return value is ignored. | ||
==== Drop ==== | ==== Drop ==== | ||
Archetype: event_drop | Archetype: event_drop | ||
Line 158: | Line 166: | ||
Generated when the timer connected triggered. | Generated when the timer connected triggered. | ||
+ | ==== User ==== | ||
+ | Archetype: event_user | ||
+ | |||
+ | Only triggered through a plugin call. This event can represent anything. | ||
+ | "op" is the object on which the event is triggered, other parameters are specific to the use-case. | ||
===== Hooking to global events ===== | ===== Hooking to global events ===== | ||