Scuba on: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Matteus (talk | contribs)
No edit summary
 
Matteus (talk | contribs)
No edit summary
Line 1: Line 1:
1 if the scuba gear is being used. Not a good idea to set probably
scuba_on is set to one when the player is underwater and there is scuba air left (scuba_amount) It is set to zero when the scuba is on and the scuba_amount is decremented to zero. It is also reset to zero when not underwater ([[sector.lotag]] == 20)

Revision as of 17:07, 10 February 2005

scuba_on is set to one when the player is underwater and there is scuba air left (scuba_amount) It is set to zero when the scuba is on and the scuba_amount is decremented to zero. It is also reset to zero when not underwater (sector.lotag == 20)