Jump to content

Schatten

Member
  • Content Count

    741
  • Joined

  • Last visited

  • Medals

Community Reputation

254 Excellent

3 Followers

About Schatten

  • Rank
    Master Sergeant

Profile Information

  • Gender
    Male
  • Location
    Tbilisi, Georgia

Recent Profile Visitors

2277 profile views
  1. Schatten

    execVM for all players

    No. If script.sqf is available for players, then "script.sqf" remoteExec ["execVM", allUnits select { isPlayer _x }];
  2. Schatten

    execVM for all players

    The mistake is that createDiarySubject requires local argument, therefore you need to execute this command using remoteExec.
  3. No, I haven't. Why? I need to get correct scroll bar values (or understand what they mean) of items list of vest, this listbox doesn't have any slider.
  4. Hello everyone! According to the BIKI, ctrlScrollValues returns values in range 0..1. However, if I scroll down a list, the Y value is greater than 1 -- 11.5715: https://imgbox.com/yqtZo8sv Is this a bug? If not, what does this number mean?
  5. description.ext: onPauseScript = "onPause.sqf"; onPause.sqf: params ["_display"]; (_display displayCtrl 1010) ctrlEnable false;
  6. Correct. Set that the trigger is activated by BLUFOR.
  7. @janchezs, try this condition (assuming the units are already inside the trigger): _unitsCount = count thisList; _unitsCountMin = thisTrigger getVariable ["unitsCountMin", -1]; if (_unitsCountMin < 0) then { _unitsCountMin = ceil (0.3 * _unitsCount); thisTrigger setVariable ["unitsCountMin", _unitsCountMin]; }; _unitsCount <= _unitsCountMin
  8. By the way, find is case-sensitive, so if you need case-insensitive, you can use, for example, toLowerANSI: ((toLowerANSI _x) find "mark_") == 0
  9. Aware of this, but in our cases isEqualTo is used to compare numbers, and in this context I prefer to use == because it's shorter.
  10. Another one with lazy evaluation: _markersToReview = allMapMarkers select { ((_x find "mark_") == 0) and { (markerShape _x) in ["ELLIPSE", "RECTANGLE"] } };
  11. Hey! Is there a way to detect which sub-mode of Nav custom info panel is used? There were such questions (https://forums.bohemia.net/forums/topic/200468-jets-custom-panels-gps-camera-feeds/?page=6&tab=comments#comment-3195212, https://forums.bohemia.net/forums/topic/200468-jets-custom-panels-gps-camera-feeds/?page=8&tab=comments#comment-3286577), but they remained unanswered. Maybe someone knows the answer? Or maybe someone knows where is the script used to draw Nav custom info panel icons? Thanks in advance.
  12. Schatten

    Changing friendly tags

    @mrcurry, sure: https://cdn.discordapp.com/attachments/1056241369787674774/1064619349933043772/2023-01-16_215709359.png.
  13. Hey! Is there a way to change friendly tags shown when you point mouse cursor to friendly units, say by changing control text got by IDC? Of course, I can disable showing these tags in difficulty options menu and implement my own solution using, for example, drawIcon3D. Is there a better way to implement the same functionality? This is the second option. I would prefer to change the one the game offers. Thanks in advance.
  14. @Ganvai84, insert a trigger, make it repeatable, change activation condition to !(player inArea thisTrigger) and on act. code to removeAllWeapons player;
  15. Yes: !(isNull (objectParent npc1))
×