Airleft: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Matteus (talk | contribs)
No edit summary
 
Matteus (talk | contribs)
No edit summary
Line 2: Line 2:
1) underwater and scuba off ([[sector.lotag]] == 2 and player.[[scuba_on]] == 0)<BR>
1) underwater and scuba off ([[sector.lotag]] == 2 and player.[[scuba_on]] == 0)<BR>
2) player runs out of scuba amount<BR>
2) player runs out of scuba amount<BR>
If it reaches zero, then Player takes damage (<BR>extra_extra8<BR> is incremented by 32) It is initialized to 15*26 when a map is loaded. (approximately 20 seconds?).
If it reaches zero, then Player takes damage ([[extra_extra8]] is incremented by 32) It is initialized to 15*26 when a map is loaded. (approximately 20 seconds?).

Revision as of 18:06, 10 February 2005

AirLeft: This is the amount of 'breath' that the player has left. It is a count-down timer ONLY when
1) underwater and scuba off (sector.lotag == 2 and player.scuba_on == 0)
2) player runs out of scuba amount
If it reaches zero, then Player takes damage (extra_extra8 is incremented by 32) It is initialized to 15*26 when a map is loaded. (approximately 20 seconds?).