OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Tipigi on 19 Jan 2003, 08:23:58

Title: SetMarkerPos
Post by: Tipigi on 19 Jan 2003, 08:23:58
Does the SetMarkerPos command work?  I'm trying to move a marker's position to the position of the enemy but it doesn't move on the map.  Here is my line:

marker1 SetMarkerPos GetPos BadGuy1

I also tried to use coordinates instead of the "GetPos BadGuy1" and it still didn't move.  Any ideas as to what I'm doing wrong?  Any help is appreciated.

Thanks
Title: Re:SetMarkerPos
Post by: Ranger on 19 Jan 2003, 11:18:07
The marker name has to be in double quotes.

"marker1" SetMarkerPos GetPos BadGuy1

 :)