Results 1 to 3 of 3

Thread: Multiplayer setObjectTexture?

  1. #1

    Question Multiplayer setObjectTexture?

    Hi,

    how can I use the command setObjectTexture in Multiplayer for setting a .paa as Texture of an Warfare Sign.

    I tried following things,

    writing following into the init of the sign

    Code:
    this setObjectTexture [0,'circular_target.paa'];
    Result: only i was seeing the picture


    tried this in the sqf called from the init of the sign:

    Code:
    _object = _this select 0;
    
    _object setVehicleInit "this setObjectTexture [0,""circular_target.paa""]";
    processInitCommands;
    Result: only i was seeing the picture

    i´m using the UNA target script, and the FORT BENNING map for making an sniper training place.
    also a skeet shoot script is running.

    in singleplayer i´m seeing the target´s in mp only the host is seeing the target.

    i found community.bistudio.com/wiki/Multiplayer_framework but i´m not a scripting pro so i didn´t understood it and don´t know if it would be a solution for my problem

    could sb. help me?

    greetings Daniel

  2. #2
    nobody who can help me?

  3. #3
    use the MPF framework mate and call the command using remote execution, i had a similar issue in this thread here

    so use this line to call the script on all clients and your local machine
    Code:
    [nil,nil,"loc" + "per",rSETOBJECTTEXTURE,_object,0,"circular_target.paa"] call RE;

Similar Threads

  1. setobjecttexture and multiplayer
    By ADuke in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 6
    Last Post: Jan 18 2011, 20:09
  2. setObjectTexture
    By Pidzej in forum ARMA : CONFIGS AND SCRIPTING (addons)
    Replies: 1
    Last Post: May 3 2008, 10:05
  3. SetObjectTexture
    By nullsystems in forum ARMA - MISSION EDITING & SCRIPTING
    Replies: 1
    Last Post: Jul 7 2007, 15:26
  4. SetObjectTexture
    By RKSL-Rock in forum OFP : CONFIGS & SCRIPTING
    Replies: 5
    Last Post: Dec 1 2004, 08:01
  5. SETOBJECTTEXTURE
    By ZNorQ in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 2
    Last Post: Jun 30 2004, 08:02

Posting Permissions

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