-
Content Count
217 -
Joined
-
Last visited
-
Medals
-
Medals
-
Is there any way to create a 3D sound locally?
Icaruk replied to Icaruk's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thank you! I didn't saw this: https://community.bistudio.com/wiki/Category:Commands_with_local_effects -
Is there any way to create a 3D sound locally?
Icaruk posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I want to create a 3D sound but not globally, just for a player. playSound3D, say3D and createSoundSource are global. -
Not possible by engine (as far as I know).
-
Defining clases on config.cpp in such addon works fine. Thanks!
-
In description.ext When the file is on mission folder, it works: class CfgMusic { tracks[]={}; class music1 { name = "music1"; sound[] = {"music1.ogg", db-2, 1.0}; }; }; The problem comes when I put the file inside a addon: I tried: sound[] = {"\modFolder\music1.ogg", db-2, 1.0}; And: sound[] = {"@modFolder\music1.ogg", db-2, 1.0}; (Like cfgSounds) None of these works. I have files on the same addon working with cfgSounds.
-
MambaSix Dragging Objects [RELEASE]
Icaruk replied to Mamba Six's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Offsets for objects are often incorrect, as there is currently no detection for the size of the object. Have you tried boundingBoxReal? -
I'm sorry, this mission has been done 2 years ago, it can't survive so many patches xD. At the moment you can find small football mods, that have ball with physics and better stuff.
-
Dialogues with Texture buttons
Icaruk replied to ozdeadmeat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Use RscShortcutButton instead of RscButton.- 1 reply
-
- 1
-
Assign a variable for every of a classname?
Icaruk replied to Haymaker's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Maybe this? // Run this only on server { [_x, 'call asd_fnc_function'] remoteExec ["addAction", -2]; // 0 all, 2 only server, -2 all except server } forEach (nearestObjects [position, ["classname"], 90000]); Or maybe it could be better to start a loop local to each player, checking if his (typeOf cursorTarget) is that className, if true: addAction, if false: removeAction. -
-
Textbox with scrollbars?
Icaruk replied to Nick Seafort's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Use RscControlsGroup (it's like a container), then put inside it all the controls you want, it will put the scrollbar if needed. -
Can I Detect Units in Shadow/Shade?
Icaruk replied to thecoolsideofthepillow's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Little Inmersion Tweaks uses moonIntensity + another thing I can't rembember. -
Count Magazines then Detect if More Collected
Icaruk replied to Kydoimos's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Something like this? _startingMags = {_x == "30Rnd_556x45_Stanag"} count magazines player; while {true} do { if (({_x == "30Rnd_556x45_Stanag"} count magazines player) > _startingMags) then { // something happens }; sleep 1; // change this if you want }; -
Help needed updating missionTasks marker position
Icaruk replied to stayfrosty24's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I have no time to test it for myself, sorry. I think that setSimpleTaskTarget is just for simple tasks (lol). You can try to create a simple task instead BIS_fnc_taskCreate. -
Help: Basics of GUI building
Icaruk replied to lawman_actual's topic in ARMA 3 - MISSION EDITING & SCRIPTING
In description.ext: #include "defines.hpp" You should try the GUI editor ingameand then press H for help. In case you don't find any example of defines.hpp: http://pastebin.com/xJXGvvuR -
Help needed updating missionTasks marker position
Icaruk replied to stayfrosty24's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Have you tried setSimpleTaskTarget? [ player, task01, ["Get in the MRAP", "Get in", "GET IN"], getPos B_MRAP_1, true ] call BIS_fnc_taskCreate; task01 setSimpleTaskTarget [B_MRAP_1, true]; If it doesn't attach to your target, you can try: 0 spawn { // use this if you are not using execVM or spawn while {true} do { task01 setSimpleTaskTarget [B_MRAP_1, true]; sleep 1; }; };