Jump to content

Icaruk

Member
  • Content Count

    217
  • Joined

  • Last visited

  • Medals

  • Medals

Community Reputation

14 Good

3 Followers

About Icaruk

  • Rank
    Staff Sergeant

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank you! I didn't saw this: https://community.bistudio.com/wiki/Category:Commands_with_local_effects
  2. I want to create a 3D sound but not globally, just for a player. playSound3D, say3D and createSoundSource are global.
  3. Icaruk

    Rotate control

    Not possible by engine (as far as I know).
  4. Icaruk

    cfgMusic from addon.

    Defining clases on config.cpp in such addon works fine. Thanks!
  5. 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.
  6. Offsets for objects are often incorrect, as there is currently no detection for the size of the object. Have you tried boundingBoxReal?
  7. 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.
  8. Use RscShortcutButton instead of RscButton.
  9. 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.
  10. Icaruk

    Textbox with scrollbars?

    Use RscControlsGroup (it's like a container), then put inside it all the controls you want, it will put the scrollbar if needed.
  11. Icaruk

    Can I Detect Units in Shadow/Shade?

    Little Inmersion Tweaks uses moonIntensity + another thing I can't rembember.
  12. 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 };
  13. 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.
  14. Icaruk

    Help: Basics of GUI building

    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
  15. 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; }; };
×