Difference between revisions of "Event Handling"

Jump to navigation Jump to search
163 bytes added ,  15:43, 11 February 2017
no edit summary
imported>Ana
imported>Ana
 
Line 105: Line 105:
==Note on OnActorEquip==
==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.
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.
==Note on OnAdd==
11/feb/2017 - OnAdd seems firing only in Gamemode when picking something from the ground, but not in MenuMode when moving stuff on containers.




Anonymous user

Navigation menu