ALPHIVE
Member-
Content Count
85 -
Joined
-
Last visited
-
Medals
-
ALPHIVE started following Set object damage with addaction and timer ? and Respawn at a certain height ?
-
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!
-
How make box with stuff saved at each restart ?
ALPHIVE posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi everybody ! Im searching how to make a box (named "box_alpha_1", that can be saved by the player, or automaticly, to avoid wipe when restart happens Someone told me about InventoryOpen and InventoryClosed, but i dont know really what is this Do you know a way ? Thanks guys ! -
Hi everyone, Im searching an autolock at launch script for my server, i mean by this a script that lock for 3 minutes the server, and then unlock it, just to leave the server start correctly without player rush Do you have any idea ? Thank you guys
-
Set object damage with addaction and timer ?
ALPHIVE replied to ALPHIVE's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@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 ? -
Set object damage with addaction and timer ?
ALPHIVE posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
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 -
How to get same uniform at each respawn ?
ALPHIVE replied to ALPHIVE's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi Georges, but with this system, it keeps the initial stuff (at spawn) ? or it keeps the stuff aquired when the person is killed ? -
How to get same uniform at each respawn ?
ALPHIVE replied to ALPHIVE's topic in ARMA 3 - MISSION EDITING & SCRIPTING
This command doesnt work ๐ -
How to get same uniform at each respawn ?
ALPHIVE replied to ALPHIVE's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Perfect Robust, i will try that ๐ So i use only this code (not the other one) : OnPlayerKilled.sqf [player, [missionNamespace, "inventory_var"]] call BIS_fnc_saveInventory; And i put in in Initplayerlocal.sqf If i only want to save the loadout the player start with but then it wont save the new items picked up Right ? ๐ -
How to get same uniform at each respawn ?
ALPHIVE replied to ALPHIVE's topic in ARMA 3 - MISSION EDITING & SCRIPTING
But with this command, if the person get a different weapon on the ground, and i respawn, i will keep this different weapon no ? I mean : if im a survivor, and i get AK, with your command, i will respawn with survivor stuff of with the AK too ? -
How to get same uniform at each respawn ?
ALPHIVE posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi everybody, I placed some survivors independant and i want that some of them wear different uniform. Problem : at every respawn, they do not keep the uniforms i placed on them before through Eden Editor So how can i do to make them keep their uniform when respawn ? By advance, thank you guys ๐ -
How make addaction script with some "consequences" ?
ALPHIVE posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi everybody, Im actually using this script to delete a trigger when addaction done : this addAction["Deactive TRIGGER1", "deleteVehicle TRIGGER1"]; Its working, but i would make hint with "TRIGGER1 is deactivated" in same time i deactive the trigger, how can i do for this ? By advance, thank you guys ๐ -
How make random spawn loot with height ?
ALPHIVE replied to ALPHIVE's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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]; -
Smart Games started following ALPHIVE
-
How make random spawn loot with height ?
ALPHIVE replied to ALPHIVE's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I dont understand how it works really, sorry im not verry good at scripting ๐ -
How make random spawn loot with height ?
ALPHIVE posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
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 ! -
How to make removing weapon trigger ?
ALPHIVE replied to ALPHIVE's topic in ARMA 3 - MISSION EDITING & SCRIPTING
this && thisList findIf {_x isKindOf "CAManBase" && !(count weapons _x isEqualTo 0)} > -1 Your command worked thank you bro ๐ !