Home   Help Search Login Register  

Author Topic: Detection and Distance  (Read 633 times)

0 Members and 1 Guest are viewing this topic.

Sophion

  • Guest
Detection and Distance
« on: 01 Jan 2005, 18:28:55 »
This might be imposible, but these days were making break-throughs.

How do you make a trigger go off (or it could be scripted) when East is detected and a certain unit is in a selected distance between a unit?

EX:
1)   Unit1 sees a Russian
2)   Unit1 wants to fire a flare but cant due to other unit's distance
3)   then Unit2 arives within the selected area
4)   Unit1 fires flare

I know how to get the flares to shoot but all i need is to know how to make it work.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Detection and Distance
« Reply #1 on: 01 Jan 2005, 18:55:55 »
Trigger set to East deteced by west

condition field =
this and (loon1 distance loon2 < X)

where X is the distance you want to use
« Last Edit: 01 Jan 2005, 19:13:46 by THobson »

Sophion

  • Guest
Re:Detection and Distance
« Reply #2 on: 01 Jan 2005, 19:31:29 »
AH!!!  :D

Sophion-Black Fels Smartar!