Jump to content
Sign in to follow this  

setMarkerpos on player's position?

Recommended Posts

I'm wanting to set up a trigger (or script) where if the player (or AI Bluefor unit) is detected in the trigger area, that AI Opfor units will move to the position the Bluefor units were seen then start a "seek and destroy" behaviour in that area.

I don't want to use the getPos command since, if the Bluefor units are no longer being observed I don't want the Opfor AI to know their actual location, but rather go to their "last known" location.

How do I set up the marker position in the setMarkerPos command to place a marker where the player (or Bluefor AI) was seen? Or have I misunderstood how the getPos command works and as such trying to be too clever (but actually making my life more difficult than it needs to be?)

Share this post

Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
Sign in to follow this