OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: REdSpEAr on 24 Jun 2004, 06:28:06

Title: Go underwater?
Post by: REdSpEAr on 24 Jun 2004, 06:28:06
How do i check if an object is underwater? It would be neat to have a command like "inwater" or a surface checking. Someone suggested to do a height check against 0, doesn't seem to work though.   :-\
Title: Re:Go underwater?
Post by: dmakatra on 24 Jun 2004, 08:23:06
http://www.ofpec.com/editors/funcref.php?filter_func=19

Try that.

:beat: *Gets Shot* :beat: