Jump to content

ALPHIVE

Member
  • Content Count

    85
  • Joined

  • Last visited

  • Medals

Posts posted by ALPHIVE


  1. Good morning, everyone,

     

    Do you know the order for me to respawn at a certain height?

     

    Example: every time I respawn on the marker 2, I respawn at 15 meters.

     

    For years I used the command "respawn_west" setMarkerPosLocal [markerPos "respawn_West" select 0, markerPos "respawn_West" select 1, 10]; , but now for some reason it doesn't work anymore ...

     

    Thank you very much for your help!


  2. @killzone_kid thank you it works with trigger, but i have an issue that i do not understand when i pass through addaction

     

    I placed a "mobile device" (with the spinning light) named alarmgyro and a computer. In the computer init i past following code :

     


    this addAction["ALARM ON", alarmgyro1 switchLight "ON"];
    this addAction["ALARM OFF", alarmgyro1 switchLight "OFF"];

     

    And when i test, the light is already off, and i can not activate it, why ?

    Is there a way to use addaction to active/deactivate light simply ?

     

     


  3. I everybody,

     

    I would make an addaction system for my hangar with spinning light from "mounted device" object

    I know that with projectors, if i set damage to 0.2 if i remember correclty, it turns off the light

     

     

    So, 

     

    I wanted make an addaction on computer that activate the spinning light of the mounted device, while 30 seconds, and after it comes back to its initial state

     

    How can i do this ?

    If there is no command for this, how can i set damage on this object while 30 second, and after comes back to initial no damage state ?

     

     

    Thabk you by advance


  4. I found 😉

     

    here is the solution for people who want (in yellow, the number is the height to set)

     

     

    gun = [

     

    "rhs_weap_pb_6p9",
     "rhs_weap_pya",
     "rhs_weap_makarov_pm",
     "rhs_weap_makarov_pmm",
     "rhs_weap_pp2000_folded"

     

    ] call BIS_fnc_selectRandom;
    Waffe1 = "groundweaponholder" createVehicle getpos this;
    Waffe1 addWeaponCargo [gun,1];
    Waffe1 setPos [getPos this select 0,getPos this select 1,
    2.00];


  5. Hi guys 😉

     

    On my server im actually placing random loot spawns, for this, im using this command in INIT of empty helipad :

     

     

    gun = [

     

    "rhs_weap_pb_6p9",
     "rhs_weap_pya",
     "rhs_weap_makarov_pm",
     "rhs_weap_makarov_pmm",
     "rhs_weap_pp2000_folded"

     

    ] call BIS_fnc_selectRandom;
    Waffe1 = "groundweaponholder" createVehicle getpos this;
    Waffe1 addWeaponCargo [gun,1];
    Waffe1 setPos [getPos this select 0,getPos this select 1,0.00];

     

     

    It works pretty well,

    but my problem is the height of the spawn : sometime when i place it in buildings, the script make spawn weapon automaticly to the ground, and not to the house surface

     

    -> So i want use this script to make spawn my stuff at 2nd floor of a building, it will not work because it will spawn on the ground, under the building

     

     

    My question is : how can i set the height ? in using this scrip

     

    Thank you guys !

     

×