Yvel: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
In a sprite that happens to be a player, yvel is the player ID of that player (to be used in conjunction with [[getplayer]] and [[setplayer]], etc.).
In a sprite that happens to be a player, yvel is the player ID of that player (to be used in conjunction with [[getplayer]] and [[setplayer]], etc.).
 
In a projectile, yvel is the number of bounces that the projectile has left. Setting the yvel of a RPG-type projectile cause it to explode (simulate impact).


[[Category:Sprite structure members]]
[[Category:Sprite structure members]]

Revision as of 09:47, 21 August 2008

In a sprite that happens to be a player, yvel is the player ID of that player (to be used in conjunction with getplayer and setplayer, etc.).