Jump to content

Lars-the-dane

Member
  • Content Count

    15
  • Joined

  • Last visited

  • Medals

Posts posted by Lars-the-dane


  1. I followed your instructions to the letter but there is something wrong. when i type this in the triggers on act. ["ARTY_Sh_82_HE", ["mortarTarget_1", "mortarTarget_2", "mortarTarget_3"], 3, 0.8] spawn startBombardment; i get this error Type Script. expected Nothing

    just i tought. I'm not using ACE. I dont know if that has anything to go with the problem


  2. now I have worked on my own problem for a While, and found a way to make it work :-) it might not be the easiest way to do it, but it Works.

    On my map i placed 6 emty game logics named Shell1 to Shell6 to be the targets. then i placed 6 triggers named tr1 to tr6. in the first triggers con i put in "this and triggeractivated trig6" (trig6 is the name of the trigger that starts the attack) in the other triggers i used tr1 to tr5

    on act i put in fireSky = "ARTY_Sh_82_HE" createVehicle (shell3 modelToWorld [0,0,100])

    i set all the triggers to 5x5 radius and to activated by opfor.

    to set of the triggers i put a single opfor rifleman beside the triggers.

    but i would stil like to hear for others WHO have an easier way to do the same.


  3. Well the easiest way would be creating the explosives of your choice and drop them around your base using setPosATL :D

    This would be without the action of any AI or any animation which could possibly show the trajectory of the explosive - it would just fall off of some height and explode while touching the ground.

    _detonationPosition set [2, 20]; // set height to 20meter
    _explosive = createVehicle ["EXPLOSIVE_CLASSNAME", _detonationPosition, [], 0, "NONE"];
    
    // You could also do some simple trig calculation and place it around your base with a set radius
    _explosive setPosATL _detonationPosition;  
    

    Unfortunately I don't know the classnames of the explosives but I think other ppl can help you out finding the one you're looking for.

    thanks for the reply. this might be a noob question. but what is php code. i might know the answer whitout realizing it :-).

    I have tried with the firesky way. but i can only make it to drop one round


  4. Hi I'm making this 3 man Coop mission for me and some friends to be played on a LAN server. and I have a problem that I cant find a answer too i have searced both Google and the forum but no luck :(. I have reached a point in the mission where our FOB is going to be attacked by insurgents and i want the anttack to start with a barrage of 8 -10 morter rounds fired by the AI. how do i set that op nice and easy. please help

×