Jump to content
Sign in to follow this  
dematti

Make group move to my location

Recommended Posts

I looked around for this and tried some stuff but still cant make it work.

How do I make a group move to my position?

not knowing where I will be on the map in that moment.

(I want an enemy group to constantly look for me (move to my position) while I am moving through the island)

Thx

Share this post


Link to post
Share on other sites

You can use the "reveal" command in he enemy's team leader script field. Don't remember the synthax, probably somthing like: enemyTLname reveal yourname, anyway you can found it in the biki. That should work. And also the guard wp is useful if you need, it makes that unit attack an enemy detected everywhere by another ally unit, even if on the other side of chernarus (useful for creating reinforcements).

Share this post


Link to post
Share on other sites

Or you could keep a script constantly running while youre alive.

If you take something like:

Initline of player:

null = this execVM "runafterme.sqf"

runafterme.sqf

while {alive player} do
{ 
"groupfollowing" domove getpos player;
~60
};

So every 60 secs the group with the name "groupfollowing" gets your exact location.

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  

×