Class Weapon

ammo

ammo()

Returns the amount of ammo left in this weapon.

is_reloading

is_reloading()

Returns true if this weapon is reloading.

reload_time

reload_time()

Returns the reload time left on this weapon. Does only make sense if is_reloading() is true.

type

type()

Returns the weapon type in the form of a WeaponType object.

 
main/modding_docs/lua/weapon.txt · Last modified: 2007/12/18 19:02 (external edit)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki