Jump to content
Sign in to follow this  
1para{god-father}

Some help on script

Recommended Posts

Hi me again !

Running a Hosted server is getting to me !!!

Have this little script that I am using to capture someone, which works fine, however when run on a hosted server "pstask5=true;" never seems to get set , I have a trigger on the map that when pstask5=true; it will call another script and that triggers UPSMON but it does not ,

Can anyone explain this to me as it works on no problem on my local PC

_per = _this select 0;  // Person who had the addAction
_ldr = _this select 1;  // Person who used the addAction
_act = _this select 2;  // ID of the addAction

// activate next task
pstask5=true;
///remove action and join group
_per removeAction _act;
_per switchMove "AmovPercMstpSsurWnonDnon";
// Join the VIP to the group.  
[_per] joinSilent group _ldr;
_per EnableAI "MOVE";

Share this post


Link to post
Share on other sites

publicVariable "pstask5"; will update the variable across the server.

Share this post


Link to post
Share on other sites

You need to use publicVariable "psttask5"; again each time the value changes, as in your script there.

Share this post


Link to post
Share on other sites

ohhhh - that is new to me, that is why I am having other issues LOL

Many thanks for that , that should solve some other problems :)

WOpppppeeee it worked thanks guys

Edited by psvialli

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  

×