Jump to content
Sign in to follow this  
mia389

addaction script help

Recommended Posts

I have a script running from an addaction and I cant get it to work right on a dedicated server.

I call it like this

this addaction ["Depoly Zodiac", "boat.sqf"]; 

Script looks like this

Cplayer SwitchMove "RepairingKneel";
_actHad = _this select 0;  // Object that had the Action (also _target in the addAction command)
_actUsed = _this select 1;  // Unit that used the Action (also _this in the addAction command)
_actID = _this select 2;  // ID of the Action
_actHad removeAction _actID;
sleep 25;
player SwitchMove "";
_heli = "zodiac" createVehicle (getMarkerPos "bt");
ct addaction ["Depoly Zodiac", "boat.sqf"];

It works for the client that runs the addaction but others in the server dont see the player in the attimation and the addaction does not get removed for them. How do I get this to run on all clients?

Share this post


Link to post
Share on other sites

I have exhactly the same problem. :) ...

but my script start dabing and that heart just the man who use tha action :(

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  

×