Difference between revisions of "IsSwimming"
added see also for player version
imported>Ez0n3 m |
imported>Odessa (added see also for player version) |
||
Line 14: | Line 14: | ||
*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). | ||
:<pre>if GetPos Z < 10500</pre> | :<pre>if GetPos Z < 10500</pre> | ||
==See Also== | |||
*[[IsPlayerSwimming]] | |||
[[Category:Functions]] | [[Category:Functions]] |