Home   Help Search Login Register  

Author Topic: Over land or over water  (Read 376 times)

0 Members and 1 Guest are viewing this topic.

Offline Arctic

  • Members
  • *
  • In Utero
Over land or over water
« on: 03 May 2003, 22:59:54 »
I am trying to make a random patrol script, but I need to figure out if the gamelogic (which is camcreated) is created over water.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Over land or over water
« Reply #1 on: 03 May 2003, 23:39:30 »
Don't know the answer.

However I do know that by using placement radius on units, probability of presence on units and placment radius on waypoints you can make seriously random patrols.   Depending on what you are trying to do it may not be necessary to use a script at all.
Plenty of reviewed ArmA missions for you to play

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Over land or over water
« Reply #2 on: 03 May 2003, 23:45:24 »
There's this thing called functions.. and then there's this guy called snYpir..

http://www.ofpec.com/editors/funcref.php?filter_func=19

and at that link there's a function script which detects if over water, made by snYpir



 :D
Not all is lost.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Over land or over water
« Reply #3 on: 04 May 2003, 03:31:41 »
not by snYpir :P

dkm made it ;) :P

snYpir only made it function

Quote
Returns true if the unit passed in is over the water. Code ripped out of DKM Rastavovich's DKMM_Choppers addon.

;)

nd it works only on official islands

LCD OUT
« Last Edit: 04 May 2003, 03:34:49 by LCD »
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta