Jump to content
Sign in to follow this  
Curatalo

POW Script/ Join group Script

Recommended Posts

So here's a script a dug up from a very old post that somebody helped me with. POW, and I cant get it to work. There's an error in the "rescue.sqf".

If somebody could take a look at it. Its very small, and I se no problems with it!

vip removeAction rescueAction;

rescueAction = -1;

vip joinSilent player;

Thats all there is in the SQF, and I'm getting an error just infront of the "joinSilent player".

Thanks for you're time!

Share this post


Link to post
Share on other sites

Try this:

vip removeAction rescueAction;
rescueAction = -1;
[vip] joinSilent player;

Share this post


Link to post
Share on other sites

That worked! Thanks SNKMAN, you're helping me on multiple threads.

keep it up! lol

Share this post


Link to post
Share on other sites

Is there anychance you could post the full POW script dude? I assume there is more to it than the rescue.sqf

I have been looking for a decent one.

Cheers.

Share this post


Link to post
Share on other sites

Make a Trigger-

Activation: None, Repeatedly (i think), Present

Condition: ( { ( _x distance vip )<4 }count( units group player ) )>0

OnActivation : rescueAction = vip addAction[ "Follow Me!","rescue.sqf" ];

Deactiv: if( rescueAction != -1 )then{vip removeAction rescueAction; }

Then create an .SQF file and put this in it :

vip removeAction rescueAction;

rescueAction = -1;

[vip] joinSilent player;

Then create the unit in game which you want to be the "POW", and at the top right when you are creating him, there is a little place that says "name", write "vip" in there.

Be sure to place the .sqf into the mission folder.

im not sure if this work's in MP. But there you go.

All this does is make the "vip" unit join you're group.

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  

×