Scuba on: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Jwaffe (talk | contribs)
m Fixed dead links
Daedolon (talk | contribs)
Edited since you can walk from an underwater sector (1) to a regular one without touching water surface sectors (2).
 
Line 1: Line 1:
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 (when the [[sector]]'s [[lotag]] == 2)
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 (when the [[sector]]'s [[lotag]] != 1)


[[Category:Player structure members]]
[[Category:Player structure members]]

Latest revision as of 11:33, 2 June 2014

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 (when the sector's lotag != 1)