Jump to content
Sign in to follow this  
SouthSaturnDelta

Mark the player on the map

Recommended Posts

Hello folks,

I need the player to be visable on the map at all times.I use onmapsingleclick ,but its not much use if I cant see where I am !

How do I mark myself at all times on the map, or is this done when a mission is 'finalised' ( never got that far before !wink_o.gif so to speak ?

Can I set this using a script, or config as opposed to a marker or trigger ?

Many thanks,

SSD

Share this post


Link to post
Share on other sites

play in cadet mode ? or use this from ofpec by general baron

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">;showPos.sqs

;by General Barron

;aw_barron@hotmail.com

;This script keeps a marker on the map moving where a specified

;group is. When everyone in the group is killed, the marker turns

;into a red X. It is especially useful for testing missions, by

;showing you where patrols are.

;It is called in the following manner:

;[marker, group] exec "showPos.sqs"

;marker -- make sure to place the marker name in quotes!!! e.g. "mark1"

;group -- name of the group to be tracked by the marker. e.g. group player

_mark = _this select 0

_team = _this select 1

#Top

_mark setMarkerPos getpos leader _team

~5

? {alive _x} count units _team > 0 : goto "Top"

_mark setMarkerType "Marker"

_mark setMarkerColor "ColorRed"

exit

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  

×