Jump to content

fencr0c

Member
  • Content Count

    46
  • Joined

  • Last visited

  • Medals

  • Medals

Posts posted by fencr0c


  1. I've been staring at this bit of code for several hours and dont see why its not working.

    _loc=[696.712,8334.23,0]
    _trgname="_trigger";
    _trgstsfld="areaclear";
    
    call compile format["%1=createTrigger[""EmptyDetector"",%2]",_trgname,_loc];
    call compile format["%1 setTriggerArea[300,300,0,false]",_trgname];
    call compile format["%1 setTriggerActivation[""GUER"",""NOT PRESENT"",false]",_trgname];
    call compile format["%1 setTriggerStatements[""this"",""%2=true;"",""""]",_trgname,_trgstsfld];
    
    call compile format["waitUntil {%1}",_trgstsfld];
    

    It should do the following, but the areaclear is never set so I assume the trigger is not firing. The only unit on the whole map is me a BAF soldier.

    _trigger=createTrigger["EmptyDetector",[696.712,8334.23,0]];
    _trigger setTriggerArea[300,300,0,false];
    _trigger setTriggerActivation["GUER","NOT PRESENT",false];
    _trigger setTriggerStatements["this","areaclear=true;",""];
    
    waitUntil {areaclear};
    


  2. I noticed the other night whilst playing OA that the logo does not appear on the M1A1 Tusk, but if you look carefull towards the rear quarter the text is appearing above the armoured skirt, perhaps this is true on other vehicles i.e. the text is displayed, but no logo, didn't have time to check out others.


  3. This is driving me mad, probably my lack of knowledge or something, but the results aren’t as expected/

    Basically the script should generate a saboteur, who’s instructed to go to a position, place a pipe bomb and touch it off.

    The script is executed from another script that determines the target position and creates the saboteur if he dies.

    The first couple of times the script runs fine, the saboteur is created, he moves to the end of the waypoint, places the pipe bomb, triggers it and dies.

    Then it all starts going wrong, the pipe bomb is placed 2/3 of the way along the waypoint path, and gets triggered at the end of the waypoint. This gets progressively worse as the pipe bomb is placed closer and closer to the start of the waypoint, ending up with the satchel being placed at the start of the waypoint and then being triggered at the end.

    I’ve displayed the position of the target using hint and its correct, it never changes.

    Any help would be appreciated as I’m new to this scripting lark.

    private ["_spawnPos","_targetPos","_group","_osfBomberWp1","_osfBomberWp0"];
    _spawnPos = _this select 0;
    _group = _this select 1;
    _targetPos = _this select 2;
    
    // create bomber unit
    "TK_INS_Soldier_EP1" createUnit [_spawnPos, _group, "this addMagazine ""pipebomb"";osfBomber = this", .05, "private"];
    
    // assign waypoint and targets for bomber
    _osfBomberWp0 = _group addWaypoint [_targetPos, 0];
    _osfBomberWp0 setWaypointType "MOVE";
    //_osfBomberWp0 setWaypointBehaviour "STEALTH";
    _osfBomberWp0 setWaypointStatements ["","osfBomber fire [""pipebombmuzzle"", ""pipebombmuzzle"", ""pipebomb""]"];
    
    _osfBomberWp1 = _group addWaypoint [_targetPos, 1];
    _osfBomberWp1 setWaypointStatements ["","osfBomber action [""TOUCHOFF"", osfBomber];osfBomber setDamage 1"];
    
    exit;
    
    


  4. Have exactly the same problem. Can't find out servers in the in-game browser.

    Can find it using the remote and keying the IP address. What's odd is that the in-game browser states BattlEye is not running on the server, but if I look in the server window it states BattlEye is started. Have a support ticket raised with our GSP.

    Also if I goto to http://arma2.swec.se/server/list and type our server name its not displayed, have to click on down to get the server to be displayed, its clearly not down as I've joined the server and successfully started a game.

×