EVENT DRAWWEAPON: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
Fox (talk | contribs)
No edit summary
Line 4: Line 4:


Set gamevar [[RETURN]] to any non-zero value to hide weapon tile.
Set gamevar [[RETURN]] to any non-zero value to hide weapon tile.
The difference beetween [[EVENT_DISPLAYWEAPON]] and EVENT_DRAWWEAPON is that the second doesn't hide the quick kick tile. EVENT_DRAWWEAPON may be usefull for who doesn't plan to re-do the quick kick.


[[Category:Events]]
[[Category:Events]]

Revision as of 20:37, 28 July 2009

EVENT_DRAWWEAPON is a Game Event.

This event is called when a weapon is being displayed on the screen. Can be used with the gamevar currentweapon to control weapon animations.

Set gamevar RETURN to any non-zero value to hide weapon tile.

The difference beetween EVENT_DISPLAYWEAPON and EVENT_DRAWWEAPON is that the second doesn't hide the quick kick tile. EVENT_DRAWWEAPON may be usefull for who doesn't plan to re-do the quick kick.