Jump to content
Sign in to follow this  
 EO

joinSilent player; question.

Recommended Posts

Hi folks, I'm creating a scenario where two units join my group, i'm using, [civ1] joinSilent player; in the units init.....it works fine but i would prefer the unit to stay where they are until i get within a few feet of said unit, at the moment as soon as i preview mission the units run towards my position.....any ideas would be great.

Thanks:)

Edited by evil-organ

Share this post


Link to post
Share on other sites

Put an action on the civ:

this addAction ["Recruit Civ",{[(_this select 0)] joinSilent (group player); (_this select 0) removeAction (_this select 2);},nil,6,true,true,"","_this distance _target < 3"];

Share this post


Link to post
Share on other sites

JShock, you are the man. Works a treat. Thanks for being generous with your knowledge.:notworthy:

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  

×