For one of the missions I'm creating I need to have the location icons of every enemy soldier displayed on the map in real time -- regardless of whether the player knows about them or their position.
Anyway, I've got the array with all the enemy units, and I figured I could just run the following bit of script:
"playerguy reveal _x" forEach enemylist
This works but it only displays the location of the units when the code first ran (i.e. if the enemies are moving around their positions aren't updated in the map screen).
I tried throwing the code in a constant loop that runs in the background every half second but this doesn't work either (it just keeps showing the initial enemy position, not the updated one).
So how do I get realtime unit position info to show up on the map screen?
~Mike