Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Need help with water splash effect  (Read 2473 times)

0 Members and 1 Guest are viewing this topic.

Offline Nemesis6

  • Members
  • *
Need help with water splash effect
« on: 23 Feb 2007, 03:47:35 »
I know how to detect water in the old OFP, but that method doesn't work in ArmA because, obviously, a better method for doing so has been devised. Can anyone help me with that? Maybe something involving the getposASL command was my first idea, but.. Bah.

Anyway, the script is in this demo mission attached. Help appreciated.
I am actually flying into a star... this is incredible!

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re: Need help with water splash effect
« Reply #1 on: 23 Feb 2007, 04:08:52 »
there's one simple command to detect if there's water or not:

Code: [Select]
surfaceiswater [x, y]

and it returns a simple boolean (true or false). But you guessed that. Sometimes i'm talking too much.  :whistle: