How to get a ammo`s id when a weapon onfire?
by FanZhang · in General Discussion · 05/22/2009 (8:11 pm) · 2 replies
How to get a ammo`s id when a weapon onfire?
Thnx:)
Thnx:)
About the author
by FanZhang · in General Discussion · 05/22/2009 (8:11 pm) · 2 replies
Associate Michael Hall
Distracted...
In the case of the former, from the onFire callback you can't. But you can acquire this information from onInventory() or even onPickup().
In the case of the latter, the ammo actually being used by the weapon image is just part of the scripted inventory construct and is not an actual item, a counter basically -- it doesn't exist in the game world.