Difference between revisions of "IsSwimming"

60 bytes added ,  20:38, 30 March 2016
no edit summary
imported>Ez0n3
imported>Jazzisparis
 
(2 intermediate revisions by 2 users not shown)
Line 13: Line 13:
*[[IsSwimming]] will always return 0 if called on the player.
*[[IsSwimming]] will always return 0 if called on the player.
*If the calling actor is in the Wasteland worldspace, whether or not they are swimming can be determined by checking their Z coordinate. This approach, unlike [[IsSwimming]], will work perfectly on the player (only works for the main water body [auto-water], not for placeable water).
*If the calling actor is in the Wasteland worldspace, whether or not they are swimming can be determined by checking their Z coordinate. This approach, unlike [[IsSwimming]], will work perfectly on the player (only works for the main water body [auto-water], not for placeable water).
  if GetPos Z < 10500
:<pre>if GetPos Z < 10500</pre>


==See Also==
*[[IsPlayerSwimming]]
*[[IsInWater]]
[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:Functions (GECK 1.1)]]
Anonymous user