From EDukeWiki
Revision as of 17:14, 15 July 2008 by (talk)
Jump to navigation Jump to search

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