-
Content Count
759 -
Joined
-
Last visited
-
Medals
Community Reputation
261 ExcellentAbout Schatten
-
Rank
Master Sergeant
Profile Information
-
Gender
Male
-
Location
Tbilisi, Georgia
Recent Profile Visitors
-
draw that eliminates the used options
Schatten replied to hectrol's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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)); -
[SOLVED] Spawn civilian hostage with init, and problem with addAction
Schatten replied to hectrol's topic in ARMA 3 - MISSION EDITING & SCRIPTING
CIV_REHEN_NAMUVAKA_1 is not an array, but a group. Revert this code as it was originally. -
[SOLVED] Spawn civilian hostage with init, and problem with addAction
Schatten replied to hectrol's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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); } ]; -
Need clarification how the joinSilent command works for spawned groups.
Schatten replied to avibird 1's topic in ARMA 3 - MISSION EDITING & SCRIPTING
This is because there is no such event script. -
Need help with keeping modified faces and voices to carry over after respawn of editor placed units.
Schatten replied to avibird 1's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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. -
Soldier Tracker ( Map and GPS Icons )
Schatten replied to fn_Quiksilver's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Remove/comment out lines 977-979. -
ARMA3 server difficulty setting
Schatten replied to narcissu's topic in ARMA 3 - SERVERS & ADMINISTRATION
Do you mean this? If so then this is the bug. -
sending strings to fnc_initvehicle
Schatten replied to Tankbuster's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I guess that's because of quotes and apostrophes. Try to invert them. -
sending strings to fnc_initvehicle
Schatten replied to Tankbuster's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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; }; -
Need help combining these code lines together.
Schatten replied to avibird 1's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You already did so in the second piece of code, just change other params. The same for me. -
Need help combining these code lines together.
Schatten replied to avibird 1's topic in ARMA 3 - MISSION EDITING & SCRIPTING
@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; -
ARMA3 server difficulty setting
Schatten replied to narcissu's topic in ARMA 3 - SERVERS & ADMINISTRATION
https://community.bistudio.com/wiki/Arma_3:_Server_Config_File#Server_Options -- forceRotorLibSimulation parameter. -
Need help combining these code lines together.
Schatten replied to avibird 1's topic in ARMA 3 - MISSION EDITING & SCRIPTING
[ 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; -
Add waypoint function/for random pos in marker
Schatten replied to redarmy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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. -
Add waypoint function/for random pos in marker
Schatten replied to redarmy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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];