Yvel: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Jblade (talk | contribs)
mNo 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 projectile, yvel is the number of bounces that the projectile has left.
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 18:14, 15 July 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.).

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).