Home   Help Search Login Register  

Author Topic: Need help with water splash effect  (Read 1835 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: