Home   Help Search Login Register  

Author Topic: Displaying unit coords via trigger?  (Read 1016 times)

0 Members and 1 Guest are viewing this topic.

The Edge

  • Guest
Displaying unit coords via trigger?
« on: 19 Sep 2002, 03:25:06 »
I recall on the old forum and editing depot, there was a trigger function to display a unit's XYZ coordinates with a radio command as a hint (ie. radio alpha will display [xxxxx.xx,xxxxx.xx,xx]).

I've searched this forum and the current editing depot, but could not find it...

Could someone please post what the full command was?

Thanks.

Kaliyuga

  • Guest
Re:Displaying unit coords via trigger?
« Reply #1 on: 19 Sep 2002, 03:29:37 »
  It has to do with the getpos command, I can tell you that much... but more importantly... why??  

unitnames, vehiclenames, and gamelogic units can all be substituted for x,y,z values ;)

So.. why bother?

Offline Dinger

  • Contributing Member
  • **
  • where's the ultra-theoretical mega-scripting forum
Re:Displaying unit coords via trigger?
« Reply #2 on: 19 Sep 2002, 03:35:09 »
hint format ["%1", getpos unitname]
Dinger/Cfit

The Edge

  • Guest
Re:Displaying unit coords via trigger?
« Reply #3 on: 19 Sep 2002, 03:38:10 »
Kaliyuga-

For unit placement -- placing units in certain rooms in buildings, on the roof, etc.

Dinger-

Thanks!