Jump to content

Schatten

Member
  • Content Count

    759
  • Joined

  • Last visited

  • Medals

Community Reputation

261 Excellent

3 Followers

About Schatten

  • Rank
    Master Sergeant

Profile Information

  • Gender
    Male
  • Location
    Tbilisi, Georgia

Recent Profile Visitors

2325 profile views
  1. I didn't quite understand what you want, but this is simplified version of your code: _varName = format ["Pos_Reh_Namuvaka_%1", (floor (random 9)) + 1]; (leader CIV_REHEN_NAMUVAKA_1) setPos (getPos (missionNamespace getVariable _varName));
  2. CIV_REHEN_NAMUVAKA_1 is not an array, but a group. Revert this code as it was originally.
  3. That's because your code is wrong. I guess it should be like this (pay attention to the formatting and readability): _x addAction [ ":: Rescue - Rescatar :: ", { ["Task_CIV_REHEN_NAMUVAKA_1", "SUCCEEDED"] call BIS_fnc_taskSetState; { _x setCaptive false; _x enableAI "PATH"; _x setUnitPos "AUTO"; } forEach (units CIV_REHEN_NAMUVAKA_1); (units CIV_REHEN_NAMUVAKA_1) joinSilent (group player); } ];
  4. If you were able to highlight the code, then you can remove it. This code should be executed once, therefore it should be placed, for instance, in initServer.sqf event script. Make the code readable, don't use strings with code (since code highlighting doesn't work in strings), as I demonstrated, and use programmer's editor with code highlighting.
  5. Remove/comment out lines 977-979.
  6. Do you mean this? If so then this is the bug.
  7. I guess that's because of quotes and apostrophes. Try to invert them.
  8. That's because BIS_fnc_initVehicle doesn't work with string. Try this code snippet: if (_initstring isEqualType "") then { ([_cargo] + (parseSimpleArray (format ["[%1]", _initstring]))) call BIS_fnc_initVehicle; };
  9. You already did so in the second piece of code, just change other params. The same for me.
  10. @avibird 1, just modify my code: [ this, "DELAY=", 300, "START=", 60, "PAUSE=", 100, "EXIT=", myExitTrigger2, "INIT=", toString { { doStop _x; } forEach (units _proxyThis); } ] spawn jebus_fnc_main;
  11. https://community.bistudio.com/wiki/Arma_3:_Server_Config_File#Server_Options -- forceRotorLibSimulation parameter.
  12. [ this, "DELAY=", 300, "START=", 60, "PAUSE=", 100, "EXIT=", myExitTrigger2, "INIT=", toString { _actionParameters = [ "On Knees", { (_this select 0) playMove "Acts_ExecutionVictim_Loop"; }, nil, 1.5, true, true, "", "true", 1.5 ]; { _x disableAI "PATH"; _x addAction _actionParameters; } forEach (units _proxyThis); } ] spawn jebus_fnc_main;
  13. Don't know for sure -- I just write scripts in accordance to the BIKI, and it says that if radius is zero or positive, then you should use PositionAGL, otherwise you should use PositionASL.
  14. No, according to the BIKI: Just noticed, that PositionASL should be used if radius is negative, so this is fixed version: _wp = BB addWaypoint [AGLToASL (randomPoint call BIS_fnc_randomPosTrigger), -1];
×