RegEdit
Member-
Content Count
45 -
Joined
-
Last visited
-
Medals
Everything posted by RegEdit
-
Do you mean this?
- 80 replies
-
- debriefing
- loading
-
(and 4 more)
Tagged with:
-
Align briefing image center
RegEdit replied to alleycat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You can try this, not sure if it’ll help though. <p align="center"><img src="image.jpg"></p> -
custom loadout wont work in MP for non-host players
RegEdit replied to HaZZarD's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Try to replace “this†with “officerâ€. If it won’t help, you can also try to call officersetup.sqf from init.sqf. -
How do I rotate a selected group of objects by an exact value?
RegEdit replied to Jaycerulz's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Did you mean this? _walls = [wall1,wall2,wall3]; { _x setDir 90; } forEach _walls; -
You have to define all sounds that you’ll need and then select random one in a script. _sounds = ["sound1","sound2","sound3"]; playSound (_sounds select ([0,(count _sounds)-1] call BIS_fnc_randomInt));
-
Place an Ammocrate in random building within set area?
RegEdit replied to Guck's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Replace all your code with mine, not only forEach, and this should work. -
Preventing players from switching active task ?
RegEdit replied to YattaYatta's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Maybe not the best solution, but you can check current player’s task in a loop and change it when you need, like this: currentTask = "task1"; while {true} do { if (player call BIS_fnc_taskCurrent != currentTask) then { currentTask call BIS_fnc_taskSetCurrent; }; sleep 3; }; -
Place an Ammocrate in random building within set area?
RegEdit replied to Guck's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Yes, I think so. Try this: _houseList = getMarkerPos "Cache1_marker" nearObjects ["House",25]; _c = 0; while {format ["%1", _x buildingPos _c] != "[0,0,0]"} do { _c = _c + 1; }; if (_c > 0) then { _ranNum = floor (random _c); _crate = "Box_East_Wps_F" createVehicle [0,0,0]; _crate setPos ((_houseList select ([0,(count _houseList)-1] call BIS_fnc_randomInt)) buildingPos _ranNum); }; -
Place an Ammocrate in random building within set area?
RegEdit replied to Guck's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I think markers isn’t the most accurate method. You’ll need to get into the building on foot and then save your coordinates. Paste this in a separate file and call it, for example, pos.sqf: copyToClipboard str getPos _this Then when you need to get your position, call it with: player call compile loadFile "pos.sqf"; Coordinates will be copied to your clipboard. When you have enough coordinates, you can use following code: if (!isServer) exitWith {}; coords = [ [coordinates 1], [coordinates 2], [coordinates 3] ]; "Box_NATO_Wps_F" createVehicle (coords select ([0,(count coords)-1] call BIS_fnc_randomInt)); -
Preventing players from switching active task ?
RegEdit replied to YattaYatta's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Well, you can create new task after current is completed. I don’t think you can somehow prevent player from doing this. -
addAction string formatting
RegEdit replied to Valfunction's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You right, it won’t work, correct variant is: _this addAction [format ["Move to %1",_var],"move.sqf"] In this case your variable must be probably string. -
There are no "V_PlateCarrier1_cbr" in current version. You can use "V_PlateCarrier1_blk" or "V_PlateCarrier1_rgr" instead.
-
worldspace script copy problem
RegEdit replied to malakdecaen's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Just open whatever you use to edit scripts and press Ctrl + V after script execution. You can only copy something to clipboard, but can’t save to file, so script will be looking like this: _pos = getPos player; _msg = format ["[%1,[%2,%3,%4]]",direction player,_pos select 0,_pos select 1,_pos select 2]; hint _msg; copyToClipboard _msg; -
Need help with animations through script
RegEdit replied to K120's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You can’t run .sqf scripts with exec command, you need to use execVM. Try this: _handle = player execVM "office.sqf" Also, I’m not sure that such action as “ease†exists, so office.sqf then will be looking like this: _this action ["salute",_this]; sleep 3; _this action ["salute",_this]; -
Yeah, maybe I’m wrong, but it seems that you can’t create topics for custom hints, because there is already a topic called <mission> for your mission’s hints, so you have to create single hints and put them in HintMainClass.
-
Yes, it is. You just need to add advanced hint in your Description.ext: class CfgHints { class HintMainClass { displayName = "Hint Main Class"; class HintClass { displayName = "Hint Class"; description = "Your hint description."; image = "\a3\ui_f\data\gui\cfg\hints\Miss_icon_ca.paa"; tip = "Tip that shows in the bottom of the hint."; }; }; }; Use %1%2Your text in description to add bulleted list item, and %3Your text%4 to make blue highlighted text.
-
Editing scripts on a dedicated server
RegEdit replied to RegEdit's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Alright, I got it. Better use dedicated server to test scripts when they’re almost done. Thanks all for your answers. -
Editing scripts on a dedicated server
RegEdit posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello. Recently I setup a dedicated server on my PC to test MP scripts/missions. And I have two questions: When I edit some script in a mission (init.sqf, for example), that is already loaded on the server, and then press “saveâ€, Notepad++ says that this file is already opened in another program, i.e. in ArmA server executable. Because of that I have to reboot the whole server or make copy of a mission in MPMissions folder. Is there any more convenient method to edit scripts when mission on a server is already loaded? Can debug console be somehow accessed on a dedicated server? It works fine with a “enableDebugConsole = 1;†setting in Description.ext on a server that hosted from game, but it doesn’t show up on a dedicated, even if I’m logged in as admin. Thanks in advance. -
Editing scripts on a dedicated server
RegEdit replied to RegEdit's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Does anybody know? -
Class cfgidentities for arma 3
RegEdit replied to Xen0tech's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Faces: AfricanHead_01 AfricanHead_02 AfricanHead_03 AsianHead_A3_01 AsianHead_A3_02 AsianHead_A3_03 Custom Default GreekHead_A3_01 GreekHead_A3_02 GreekHead_A3_03 GreekHead_A3_04 GreekHead_A3_05 GreekHead_A3_06 GreekHead_A3_07 GreekHead_A3_08 GreekHead_A3_09 NATOHead_01 Nikos PersianHead_A3_01 PersianHead_A3_02 PersianHead_A3_03 WhiteHead_02 WhiteHead_03 WhiteHead_04 WhiteHead_05 WhiteHead_06 WhiteHead_07 WhiteHead_08 WhiteHead_09 WhiteHead_10 WhiteHead_11 WhiteHead_12 WhiteHead_13 WhiteHead_14 WhiteHead_15 Voices: Base ENG Male00ENG Male00TK Male01ENG Male01TK Male02ENG Male02TK Male03ENG Male03TK Male04ENG Male04TK NoVoice TK