Home   Help Search Login Register  

Author Topic: Set Marker Angle  (Read 448 times)

0 Members and 1 Guest are viewing this topic.

Offline Calamity

  • Former Staff
  • ****
  • Calamity Strikes AGAIN!
    • DataCraft Enterprises
Set Marker Angle
« on: 04 Jul 2004, 05:45:16 »
Any one know what command to use to set the angle/direction of a marker. I've already used the SETMARKERPOS command in a looping script so that a marker moves with a unit. Now I want to set the direction of the marker, and arrow, to reflect what direction the unit is facing.
I searched but could not find anything.

Any ideas?

CrashnBurn

  • Guest
Re:Set Marker Angle
« Reply #1 on: 04 Jul 2004, 07:05:38 »
The only command I know of to change angle is setdir, but that only works on objects. A marker is enclosed in quotes making it a "string" therefore it won't work.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Set Marker Angle
« Reply #2 on: 04 Jul 2004, 15:35:52 »
Just an idea.......maybe you could make your own markers.......one for each of maybe 8 cardinal directions.

Have them set on the map somewhere out of the way.

Then detect when your unit changes direction and swap the marker for the appropriate one.


 ;D


Planck
I know a little about a lot, and a lot about a little.