Difference between revisions of "Event Handling"
Jump to navigation
Jump to search
m
no edit summary
imported>JT (redlink [Events] -> [Event]s (per nonplural convention for page titles)) |
imported>Ana m |
||
Line 102: | Line 102: | ||
*[http://obse.silverlock.org/obse_command_doc.html#Events OBSE Documentation] | *[http://obse.silverlock.org/obse_command_doc.html#Events OBSE Documentation] | ||
*[http://www.loverslab.com/topic/39417-tutorial-nvse4-part-5-event-handlers-user-defined-events-udes/ A tutorial on NVSE Events] | *[http://www.loverslab.com/topic/39417-tutorial-nvse4-part-5-event-handlers-user-defined-events-udes/ A tutorial on NVSE Events] | ||
==Note on OnActorEquip== | |||
GetType 40 (=weapons) on rEquipped will return false, because rEquipped is the ammo loaded on the weapon itself. So, if there are no avaiable ammos, or it's a melee weapon, it won't even fire up. Also, on load, if the weapon is out it will fire the event, since it loads ammos. | |||