Author Topic: a question  (Read 740 times)

0 Members and 1 Guest are viewing this topic.

ilya

  • Cheater Apprentice
  • *
  • Posts: 16
    • View Profile
a question
« on: April 12, 2011, 08:55:40 pm »
i created a marker for my player here is
Code: [Select]
marker = createMarker ["targetmarker", position player];
markername= "targetmarker";
marker setMarkerShape "ICON";
"targetmarker" setMarkerType "Marker";
"targetmarker" setMarkerColor "ColorRed";
"targetmarker" setMarkerText "PLAYER 1";
"targetmarker" SetMarkerPos getpos player;

how can i make it follow the player on map?

M. O.

  • Administrator
  • MasstKer
  • *
  • Posts: 9185
    • View Profile
    • http://www.tkc-community.net
Re: a question
« Reply #1 on: April 12, 2011, 09:23:29 pm »
You might have to repeat the last line in a loop. Add a pause in between too.
Heckling is an art, and game hacking a science.

Coronel_Niel

  • Insane Joker
  • ****
  • Posts: 846
  • Why can't I pick my own profile picture...
    • View Profile
Re: a question
« Reply #2 on: April 12, 2011, 10:14:32 pm »
That SQF or SQS?


SQF Code:
Code: [Select]
marker = createMarker ["targetmarker", position player];
markername= "targetmarker";
marker setMarkerShape "ICON";
"targetmarker" setMarkerType "Marker";
"targetmarker" setMarkerColor "ColorRed";
"targetmarker" setMarkerText "PLAYER";
while {true} do
   {
   "targetmarker" SetMarkerPos getpos player;
   };
"Now we are going to watch my boys do it" - Joopig

ilya

  • Cheater Apprentice
  • *
  • Posts: 16
    • View Profile
Re: a question
« Reply #3 on: April 12, 2011, 11:52:56 pm »
its sqs based on buckfast