Extra: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Jblade (talk | contribs)
No edit summary
Fox (talk | contribs)
No edit summary
Line 1: Line 1:
Extra is available for [[sector]], [[hittype]], [[sprite]], and [[Members of the wall structure|wall]] structs.
Extra is available for [[sector]], [[hittype]], [[sprite]], and [[Members of the wall structure|wall]] structs.


For [[sprite|sprites]], '''extra''' is the actor-in-question's health value. The '''extra''' member of the [[hittype]] struct controls how much damage will be processed for a sprite during the next tic of the game.
For [[sprite|sprites]], '''extra''' typically the actor-in-question's health value. It's also used to store the damage of hard-coded projectiles. See also [[htextra]].


For a [[sector|sector]], '''extra''' contains the value of any GSPEED sprites that were in the sector (Gspeed sprites are deleted when the level loads up)  
For a [[sector|sector]], '''extra''' contains the value of any GSPEED sprites that were in the sector (Gspeed sprites are deleted when the level loads up)  

Revision as of 18:07, 2 April 2014

Extra is available for sector, hittype, sprite, and wall structs.

For sprites, extra typically the actor-in-question's health value. It's also used to store the damage of hard-coded projectiles. See also htextra.

For a sector, extra contains the value of any GSPEED sprites that were in the sector (Gspeed sprites are deleted when the level loads up)