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
Script looks like this
this 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?
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;
player SwitchMove "";
_heli = "zodiac" createVehicle (getMarkerPos "bt");
ct addaction ["Depoly Zodiac", "boat.sqf"];