Home   Help Search Login Register  

Author Topic: Distance between 2 objects  (Read 438 times)

0 Members and 1 Guest are viewing this topic.

Offline Alan34

  • Members
  • *
  • Praise the Lord and pass the Carl Gustav
    • Red Devils
Distance between 2 objects
« on: 18 Sep 2004, 02:48:56 »
I need to have a radio call that will display in Hint format the distance between 2 objects.  The purpose is to simulate tracking an enemy who is using a sat phone.  As the OFP player moves thru the map, he can call a radio function to tell him how close he is to enemy that is being targeted.  What is best way to do this?

Many thanks

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Distance between 2 objects
« Reply #1 on: 18 Sep 2004, 03:16:19 »
Trigger:-
Activation:   Radio Alpha
On Activation:  hint format ["Distance is %1", loon1 distance player]

Syntax not guaranteed.
Plenty of reviewed ArmA missions for you to play

Offline Alan34

  • Members
  • *
  • Praise the Lord and pass the Carl Gustav
    • Red Devils
Re:Distance between 2 objects
« Reply #2 on: 18 Sep 2004, 03:55:04 »
Works great :)