Jump to content

Megahurt2

Pre Member
  • Content Count

    2
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About Megahurt2

  • Rank
    Newbie
  1. Solved re: make addaction create a fire on a multiplayer Dedicated server I made a mission where you flush out El Chapo by burning his marijuana fields, and it was nesessary to be able to do that on a dedicated server where all would see the fire lit by one player. Heres the mission, it worked out well. Have a look at the screenies. On Steam http://steamcommunity.com/sharedfiles/filedetails/?id=868914357 Since searching for answers in arma ive been frustrated by others that have the same question as I have, found the answer and never posted it. So here's how I solved it for me. What I did was make the addaction delete an object on the map. Any object. I put a roll of duct tape in the middle of the pot field (hemp) where it wouldnt be seen. in the hemp plants init: this addaction ["burn crop ","crop2.sqf"]; the player gets close to the plant he gets the middle mouse wheel option "burn crop" crop2.sqf deletevehicle Ducktape2 Next a trigger grouped to the object ducktape, configured owner not present When ducktape2 is deleted the trigger, which can be made to call a Global Function all players can see,fires with this in its init; .nul=[]execVM "crop21.sqf"; that makes the execution of an sqf file Global, which is impossible with addaction because the script executes only with the client not the server. crop21.sqf [h2,10,time,false,true] spawn BIS_Effects_Burn; sleep 15; {deleteVehicle _x} forEach nearestObjects [h2, ["CUP_p_fiberPlant_EP1"], 25]; h2 is an invisible helipad in the crops CUP_p_fiberPlant_EP1 is hemp plants. The helipad catches on fire and after 15 secs the hemp plants are deleted and the big fire burns on where the plants had been. It works. Da da.
  2. Arma3 dedicated server question re: addaction global I am trying to use addaction on a dedicated server to start a fire that every one can see. I placed an invisable helipad under the crop and named it h2 I created a hemp plant and put this in the init addaction ["Burn Crop","burncrop.sqf"]; burncrop.sqf [h2,10,time,false,true] spawn BIS_Effects_Burn; sleep 15; {deleteVehicle _x} forEach nearestObjects [h2, ["CUP_p_fiberPlant_EP1"], 25]; Only the player that used the action can see the fire. How can I make this so everyone sees it? Here is a link to the mission on steam to see the screen shot http://steamcommunity.com/sharedfiles/filedetails/?id=868914357 Please help
×