Jump to content

NeisAEL

Member
  • Content Count

    6
  • Joined

  • Last visited

  • Medals

Everything posted by NeisAEL

  1. NeisAEL

    [Release] GOM - Ambient AA V1.2.1

    I'm still having a problem where the AA just fires parallel to the ground and not into the air. It's damaging everything at ground level. Is there a way to declare a target?
  2. Hey, I tried implementing your script but it throws several error messages like "fn_getCondition.sqf, Line 10 Type String, expected Bool" or "fn_soundLoop.sqf Line 4 Type String, expected Bool" Any chance you could fix those errors?
  3. NeisAEL

    [Release] GOM - Ambient AA V1.2.1

    Now its giving me undefined variable in expression "aabattery01"? I haven't changed anything in the obj init field?? And I straight up copied your examples, tried both of them. Edit: The "call" example is giving me an "generic error in expression" near the execVM order. Edit2: The "spawn" example is giving the undefined variable in expression "aabattery01". I didnt copy the other function in correctly. So neither of them is working unfortunately.
  4. NeisAEL

    [Release] GOM - Ambient AA V1.2.1

    Hey man, sorry to bother but I'm having a real headache here. I created 5 AA guns and named them accordingly in the init field of the object. this setVariable ["GOM_fnc_ambientAABatteryID","AABattery01",true]; The name "AABattery01" increases for each gun, so "AABattery02", "AABattery03" etc. I created a trigger in my mission for present players with this in the "On Activation"-field _battery = [AABattery01,AABattery02,AABattery03,AABattery04,AABattery05]; _AA = ["_battery",5] execVM GOM_fnc_ambientAA; But everytime the trigger fires, it says "You need to specify AA guns through the object init field." I checked the ambientAA.sqf myself and found out that if the _guns array returns empty, it says this. If I try to put _battery = [AABattery01,AABattery02,AABattery03,AABattery04,AABattery05]; _AA = [_battery,5] execVM GOM_fnc_ambientAA; in the "On Activation"-field it says "Local variable in global space" and I cant save the trigger. I don't know what I'm doing wrong, I'm not very good at scripting. Some help would be really appreciated, thank you!
  5. Hello Guys, I could really use some help with a script I'm trying to run. I'm trying to implement a teleport script with Fade In/Out, Time, Date and Weather Change. Linking to an Object with addAction, so all players on the server get teleported at the same time to a predetermined location if one person activates it. For some reason, this only works for the host (if im trying on local) and for none if its on dedicated. The Teleport is working, but no Time/Date/Weather Change or Fade Out. This is the script I'm running: teleport.sqf: setDate [2012, 9, 1, 4, 30]; 0 setFog [0.4, 0.1, 25]; { [0,"BLACK",0.1,3] call BIS_fnc_fadeEffect; _x SetPos ((getPos t1) vectorADD ([random[0, 12.5, 25], random[-1.5, 0, 1.5], 0])); [1, "BLACK",5,1] call BIS_fnc_fadeEffect; 0=[[["near the coast... ","align = 'center' size = '0.7' font='PuristaBold'"],["","<br/>"],["5 days later","align = 'center' size = '0.7'","#aaaaaa"]]] spawn BIS_fnc_typeText2; }foreach allPlayers; and this is in the Object Init : [this,["To U-Boat","scripts\teleport.sqf",[],1,false,true,"","_this distance _target < 3"]] remoteExec ["addAction",0, true]; Does anyone know what I'm doing wrong? I watched some youtube videos, but am new to scripting or mapping in general. Some insight if anyone has any would be really great. Thank you tons in advance.
  6. Thanks for the input! Toyed around with it a bit and some help from others. This is the fix I implied: Into the Object Init, I put: this addAction [ "To U-Boat", { [[], "scripts\teleport.sqf"] remoteExec ["execVM", 2]; }, [],1,false,true,"","_this distance _target < 3" ]; this addAction [ "To U-Boat", { [[], "scripts\teleport.sqf"] remoteExec ["execVM", 2]; }, [],1,false,true,"","_this distance _target < 3" ]; teleport.sqf as follows: setDate [2012, 9, 1, 4, 30]; [0, [0.4, 0.1, 25]] remoteExec ["setFog"]; [0, "BLACK", 0.5, 3] remoteExec ["BIS_fnc_fadeEffect"]; sleep 0.5; { _x setPos (getPos t1 vectorAdd [random [0, 12.5, 25], random [-1.5, 0, 1.5], 0]); } forEach allPlayers; [1, "BLACK", 5, 1] remoteExec ["BIS_fnc_fadeEffect"]; [ [ ["near the coast... ", "align='center' size='0.7' font='PuristaBold'"], ["", "<br/>"], ["5 days later", "align='center' size='0.7'", "#aaaaaa"] ] ] remoteExec ["BIS_fnc_typeText2"]; In case someone has a smiliar problem. Thank you again for your input!
×