Results 1 to 2 of 2

Thread: addaction script help

  1. #1

    addaction script help

    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
    Code:
    this addaction ["Depoly Zodiac", "boat.sqf"];
    Script looks like this

    Code:
    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?

  2. #2
    I have exhactly the same problem. ...
    but my script start dabing and that heart just the man who use tha action

Similar Threads

  1. AddAction script help.
    By Kocrachon in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 27
    Last Post: Jul 30 2011, 21:25
  2. quick help with script (Addaction)
    By EACC in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 3
    Last Post: Jul 7 2011, 20:44
  3. quick help with script (Addaction)
    By EACC in forum ARMA - MISSION EDITING & SCRIPTING
    Replies: 0
    Last Post: Jul 6 2011, 19:19
  4. addAction -> Script
    By SyB in forum ARMA - MISSION EDITING & SCRIPTING
    Replies: 3
    Last Post: Mar 5 2007, 12:56
  5. Script executed via addaction
    By Snowflake in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 4
    Last Post: May 15 2003, 22:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •