Page MenuHomeFeedback Tracker

SaMatra
User

Projects

User does not belong to any projects.

User Details

User Since
Mar 7 2013, 2:13 AM (608 w, 21 h)

Recent Activity

Sun, Oct 27

SaMatra renamed T185884: getObjectTextures and getObjectsMaterials dont work on simple objects from getObjectTextures and getObjectsMaterials doesnt work on simple objects to getObjectTextures and getObjectsMaterials dont work on simple objects.
Sun, Oct 27, 8:33 AM · Arma 3
SaMatra created T185884: getObjectTextures and getObjectsMaterials dont work on simple objects.
Sun, Oct 27, 8:33 AM · Arma 3

Fri, Oct 11

SaMatra added a comment to T162138: Projectile Null in HitPart EH.

Looks to be fixed in 2.18, unless OP means something different. HitPart now properly has missiles in it.

Fri, Oct 11, 5:54 AM · Arma 3

Tue, Oct 8

SaMatra added a comment to T165080: Side panel gps map icons rotating incorrectly.

Updated repro script again, now includes blue shapes that have alignWithMap=false

Tue, Oct 8, 6:04 PM · Arma 3
SaMatra added a comment to T165080: Side panel gps map icons rotating incorrectly.

Updated repro to add rotation over time:

Tue, Oct 8, 5:48 PM · Arma 3

Sep 14 2024

SaMatra added a comment to T184593: Count of destroyed Terrain objects in MP are duped depending on the number of players on the dedicated server.

Probably related to gas stations blowing up several times too. Some MP mess is going on.

Sep 14 2024, 12:23 PM · Arma 3

Sep 2 2024

SaMatra added a comment to T184143: [Feature Request] Ability via scripts to set triggerTime and triggerDistance for submunitions.

I'd add shot into command name to distinguish it from triggers. Also maybe use same names as titles for values in https://community.bistudio.com/wiki/getShotInfo ?

Sep 2 2024, 12:21 PM · Arma 3

Aug 15 2024

SaMatra created T183703: setPosWorldLocal.
Aug 15 2024, 10:55 AM · Arma 3

Aug 13 2024

SaMatra added a comment to T124694: Mortar gunner animation desync.

The repro is identical, just change the vehicle and class in init.sqf. If you still want another ticket, I'll do it.

Aug 13 2024, 1:03 PM · Arma 3

Aug 10 2024

SaMatra added a comment to T180975: setUnitLoadout recreates backpack if nil is provided.

I think checking if input backpack was nil as a flag to keep old backpack would be the best solution here. Best backwards compatibility-wise.

Aug 10 2024, 1:20 PM · Arma 3

Aug 1 2024

SaMatra added a comment to T165080: Side panel gps map icons rotating incorrectly.

I think its better to bite the bullet and fix this, make drawRectangle/drawEllipse/drawIcon treat angle as world angle rather than UI angle, same as markers currently do.

As much as I want to do this it can break things quite badly. Besides the workarund is rather trivial, it is to add ctrlMapDir _map + yourangle

Aug 1 2024, 7:06 AM · Arma 3

Jul 8 2024

SaMatra updated the task description for T172185: M2 HMG minElev values are too small.
Jul 8 2024, 7:13 AM · Arma 3

Jul 3 2024

SaMatra created T182587: UAV locality issues during gameplay.
Jul 3 2024, 3:03 PM · Arma 3

Jun 4 2024

SaMatra added a comment to T174906: Shadow lod not working properly on the "B_UGV_02_Science_F"/"B_UGV_02_Demining_F".

Another related issue is that backpack UGV which uses similar model and same texture re-textures differently, would love both vehicle and backpack to be made re-texturable together.

Jun 4 2024, 1:39 PM · Arma 3

May 23 2024

SaMatra edited Steps To Reproduce on T181442: Ropes attached to units update unit position not frequently enough.
May 23 2024, 7:57 PM · Arma 3
SaMatra created T181442: Ropes attached to units update unit position not frequently enough.
May 23 2024, 7:45 PM · Arma 3

May 19 2024

SaMatra created T181306: Helicopters don't trigger Killed event handler when crash upside down.
May 19 2024, 5:57 PM · Arma 3

May 15 2024

SaMatra added a comment to T178384: [Feature Request] WeaponChanged and MagazineChanged eventhandler.

Haven't tested it yet, does it trigger for countermeasures on vehicles?

May 15 2024, 4:39 PM · Arma 3

May 14 2024

SaMatra added a comment to T178384: [Feature Request] WeaponChanged and MagazineChanged eventhandler.

Will this trigger on mode and muzzle change too? Perhaps all 3 can be included somehow.

May 14 2024, 4:27 PM · Arma 3

May 12 2024

SaMatra added a comment to T181063: Scripting commands to control vehicle countermeasures.

If this ticket has a chance to be implemented, let me know and I'll make scripts to quickly test it.

May 12 2024, 11:57 AM · Arma 3
SaMatra created T181063: Scripting commands to control vehicle countermeasures.
May 12 2024, 11:56 AM · Arma 3
SaMatra added a comment to T180926: Radio protocols when throw frag grenade won't work.

Found through comparison with alpha where it works, you need to have hit > 10 for it to work.

class CfgAmmo {
    class Grenade;
    class GrenadeHand:Grenade {
        hit = 10.00001;
    };
};

Really weird choice but seeing that alpha uses same grenade config as OA probably means this engine part wasn't touched for years.

May 12 2024, 5:27 AM · Arma 3

May 11 2024

SaMatra added a comment to T170535: inAreaArray variant to return indexes: inAreaArrayIndexes.

Bug found in inAreaArrayIndexes, it ignores c for height:

private _area = [positionCameraToWorld [0,0,0], 20, 20, 0, true, 20];
[
     [player] inAreaArrayIndexes _area
    ,[player] inAreaArray _area
]

> [[],[B Alpha 1-2:1 (Sa-Matra)]]

May 11 2024, 11:37 AM · Arma 3

May 8 2024

SaMatra created T180988: Player controlled UAV's aren't firing Killed and EntityKilled events if there is HandleDamage stopping damage.
May 8 2024, 7:44 AM · Arma 3

May 7 2024

SaMatra created T180975: setUnitLoadout recreates backpack if nil is provided.
May 7 2024, 8:53 AM · Arma 3

May 4 2024

SaMatra created T180929: Delete backpack after WeaponAssembled event handler, not before..
May 4 2024, 3:07 PM · Arma 3

May 3 2024

SaMatra created T180897: Alternative syntax to moveInAny.
May 3 2024, 7:58 AM · Arma 3

May 2 2024

SaMatra created T180876: ui2t rendering blank texture.
May 2 2024, 11:34 AM · Arma 3

Apr 30 2024

SaMatra added a comment to T180763: createShot, a dedicated command to create shots.

Sure, but they already do that with proper cheats bypassing SQF and creating own shot messages. Is it really *that* much worse than creating shots with createVehicle and createVehicleLocal? You can already do a lot of mess with {createVehicleLocal ["HelicopterExploBig", getPos player, [], 0, ""]} forEach allPlayers and its not even logged in createvehicle.log. (Censor this if needed)

Apr 30 2024, 10:11 AM · Arma 3

Apr 27 2024

SaMatra created T180763: createShot, a dedicated command to create shots.
Apr 27 2024, 7:40 AM · Arma 3

Apr 25 2024

SaMatra added a comment to T176124: "HandleDamage" being called at shooter side for unrelated reasons.

Since source for roadkill damage changed from being a driver to an actual vehicle, damage from physx objects is still unit itself.

v = createVehicle ["Land_ToiletBox_F", player modelToWorld [0,10,0]]; 
pos = getPos v; 
onEachFrame {v setPos pos; v setVelocity [0,100,0]}; 
u = group player createUnit [typeOf player, v, [], 0, "CAN_COLLIDE"];

Here is a repro script to kill a unit with PhysX object.

v = createVehicle ["C_Hatchback_01_F", player modelToWorld [0,10,0]]; 
pos = getPos v; 
onEachFrame {v setPos pos; v setVelocity [0,100,0]}; 
u = group player createUnit [typeOf player, v, [], 0, "CAN_COLLIDE"];

Same repro with a vehicle instead of object properly attributes the vehicle as damage source

Apr 25 2024, 2:31 PM · Arma 3
SaMatra added a comment to T180323: SPG-9 vehicle magazines use Metis/Vorona pictures.

Those are not visible in game and that's why they are not defined. I guess I could try hiding those magazines better in Eden box editor if they are visible over there

They aren't visible in Eden, but these wrong icons are explicitly defined in the config. Maybe just remove these definitions so there are no pictures for them at all.

Apr 25 2024, 1:28 PM · Arma 3
SaMatra created T180724: Z-fighting from camera shake when the shooting vehicles.
Apr 25 2024, 12:56 PM · Arma 3
SaMatra added a comment to T180721: Command/EH to obtain artillery (computer) target position.

I wonder if we can just get general engine-driven calculation for predicted projectile hit position? This way you could run it in Fired to find out where AI was firing. This will differ a bit from where AI *wanted* to fire though.

Apr 25 2024, 10:25 AM · Arma 3

Apr 24 2024

SaMatra added a comment to T180365: ENTITY getModelInfo INDEX.

Nice. I guess its fine with closing the ticket until there somebody has a really big need for single-return syntax.

Apr 24 2024, 1:28 PM · Arma 3
SaMatra added a comment to T180365: ENTITY getModelInfo INDEX.

Command return is very different in nature - model name string, skeleton boolean, placing point vector, mass number. Pretty sure in 99.9% cases you'll only ever use a single value (like I do in all my usages), thus the suggestion to have it return only wanted value. I don't REALLY need it but it would be nice to have.

Apr 24 2024, 12:56 PM · Arma 3

Apr 6 2024

SaMatra created T180365: ENTITY getModelInfo INDEX.
Apr 6 2024, 11:31 AM · Arma 3
SaMatra added a comment to T119190: Please add command to edit displayName property of customized vehicles.

Or maybe call it setCustomEntityInfo by analogy with getEntityInfo, getModelInfo commands

Apr 6 2024, 11:30 AM · Arma 3
SaMatra added a comment to T119190: Please add command to edit displayName property of customized vehicles.

I'd like to also ask for custom picture.

Apr 6 2024, 11:29 AM · Arma 3

Apr 5 2024

SaMatra added a comment to T175562: Add weapon animation sources for aiming and optics mode.

isADS would be https://community.bistudio.com/wiki/cameraView == "GUNNER"? If so then I don't think I can do that. That wouldn't work for AI's which don't have camera, and would also be a problem in MP.
That would always return the state of the players camera. I could check if the unit holding the weapon == cameraOn. In all other cases it would always be zero?
You'd have to combine it with isselected anim source, to make sure you don't animate when player is in ADS somewhere else.

I'm pretty sure that remote units camera state is broadcasted because it changes for you automatically when you watch remote players with _remotePlayer switchCamera "INTERNAL" it follows whatever camera view that player is having on their client.

Apr 5 2024, 7:00 PM · Arma 3

Apr 3 2024

SaMatra created T180323: SPG-9 vehicle magazines use Metis/Vorona pictures.
Apr 3 2024, 7:51 AM · Arma 3

Mar 22 2024

SaMatra added a comment to T180034: Markers are broken on custom channels.

Repro

Mar 22 2024, 4:43 AM · Arma 3

Mar 21 2024

SaMatra added a comment to T124694: Mortar gunner animation desync.

Not sure if this can be considered resolved, it doesn't solve the issue where it matters the most.

Mar 21 2024, 11:28 AM · Arma 3
SaMatra added a comment to T124694: Mortar gunner animation desync.

Version with RHS tank, still broken.

Mar 21 2024, 3:19 AM · Arma 3

Mar 19 2024

SaMatra created T180034: Markers are broken on custom channels.
Mar 19 2024, 1:52 PM · Arma 3

Mar 10 2024

SaMatra renamed T178841: setN - a set command that sets and returns the array/hashmap it operated on from A set command that also returns the array/hashmap it operated on to setN - a set command that sets and returns the array/hashmap it operated on.
Mar 10 2024, 4:01 AM · Arma 3

Feb 21 2024

SaMatra added a comment to T124694: Mortar gunner animation desync.

Okay, here is the repro:

Feb 21 2024, 6:02 AM · Arma 3

Feb 11 2024

SaMatra created T179027: onUserSelectedPlayer is unreliable by reporting null entity.
Feb 11 2024, 4:55 AM · Arma 3

Feb 9 2024

SaMatra added a comment to T178958: Global projectiles don't broadcast instigator to other clients.

Make a ticket, if it is feasible in context of the event then why not. Keep in mind HitExplosion =/= Explosion

ENTITY Explosion is called alongside ENTITY HitPart has projectile entity and source in it, might as well have instigator there.

Feb 9 2024, 5:33 PM · Arma 3
SaMatra created T178981: setShotParents should be client executable.
Feb 9 2024, 5:17 PM · Arma 3
SaMatra added a comment to T178958: Global projectiles don't broadcast instigator to other clients.

Also added shotInstigator param to events:

ammo HitPart
ammo AmmoHit
entity HitPart
ammo HitExplosion
0nFlare.sqs

Feb 9 2024, 5:07 PM · Arma 3
SaMatra updated the task description for T178977: setShotParents doesn't work.
Feb 9 2024, 2:00 PM · Arma 3
SaMatra added a comment to T178977: setShotParents doesn't work.

Repro hint output:

Feb 9 2024, 1:57 PM · Arma 3
SaMatra created T178977: setShotParents doesn't work.
Feb 9 2024, 1:55 PM · Arma 3

Feb 8 2024

SaMatra added a comment to T178958: Global projectiles don't broadcast instigator to other clients.

Repro RPT example:
Server:

22:20:45 #############################################################
22:20:45 # ProjectileCreated: 10: rocket_rpg7.p3d (R_PG7_F)
22:20:45 local = true
22:20:45 source = B Alpha 1-1:1 (Sa-Matra) (B_RangeMaster_F)
22:20:45 instig = B Alpha 1-1:1 (Sa-Matra) (B_RangeMaster_F)

Client:

22:20:45 #############################################################
22:20:45 # ProjectileCreated: 10: rocket_rpg7.p3d (R_PG7_F)
22:20:45 local = false
22:20:45 source = B Alpha 1-1:1 (Sa-Matra) REMOTE (B_RangeMaster_F)
22:20:45 instig = <NULL-object> ()
Feb 8 2024, 4:33 PM · Arma 3
SaMatra created T178958: Global projectiles don't broadcast instigator to other clients.
Feb 8 2024, 4:29 PM · Arma 3

Feb 7 2024

SaMatra added a comment to T176206: explosionEffect shot only uses instigator for parents as source instead of full parents info of the killer.

Is this related to lack of vehicle or instigator on the entity in lastEntityCausingDamage @ T178711? I think it would be correct for entities to store both last damage vehicle and instigator and then use it for proper Killed event handler arguments and these explosions parents.

Feb 7 2024, 3:53 AM · Arma 3

Feb 3 2024

SaMatra updated the task description for T178841: setN - a set command that sets and returns the array/hashmap it operated on.
Feb 3 2024, 12:26 PM · Arma 3
SaMatra created T178841: setN - a set command that sets and returns the array/hashmap it operated on.
Feb 3 2024, 4:04 AM · Arma 3

Feb 2 2024

SaMatra added a comment to T76756: Flares are useless (launcher).

Okay, after lots of testing, here is a patch that fixes all vanilla flare issues:

class CfgAmmo {
	class FlareCore;
	class FlareBase:FlareCore {
		intensity = 500000;
	};
	class Flare_82mm_AMOS_White:FlareCore {
		intensity = 1000000;
		effectFlare = "FlareShell";
	};
};

40mm flares inherit from FlareBase. From my tests 100k intensity (that RHS has) is nowhere close to OA or early A3 GL flare brightness, I tested 500k and it seems to be too bright it seems to be close to whatever original A3 had:
original A3:


500k intensity for 40mm flare (what I suggest to have):

250k intensity for 40mm flare (not enough, 100k is even less):

Feb 2 2024, 6:24 AM · Arma 3
SaMatra added a comment to T76756: Flares are useless (launcher).

Here is what RHS does it:

class rhs_ammo_flare_m485: F_40mm_White
{
    intensity = 100000;

and vanilla config only has intensity defined in 2 classes, checked with

"'intensity' in (configProperties [_x, 'true', false] apply {toLower configName _x})" configClasses (configFile >> "CfgAmmo") apply {[configName _x, getNumber(_x >> "intensity")]}
Feb 2 2024, 5:55 AM · Arma 3

Jan 27 2024

SaMatra created T178711: lastEntityCausingDamage only stores damage instigator.
Jan 27 2024, 6:24 AM · Arma 3

Jan 26 2024

SaMatra created T178697: Special HitHead damage (EH context=HeadHit) coming through HandleDamage ignores instigator.
Jan 26 2024, 5:53 PM · Arma 3
SaMatra created T178690: HRotor of helicopters ignores HandleDamage for rotor collisions.
Jan 26 2024, 5:00 PM · Arma 3

Jan 19 2024

SaMatra added a comment to T79868: Assigning two controls to Helicopters "Collective Raise" allows you to increase lift..

Test script snippet to reproduce the issue with visible values

t = 0;
st = 0;
z = 0;
Jan 19 2024, 2:32 PM · Arma 3

Jan 18 2024

SaMatra added a comment to T178345: isMan to quickly check if entity is man.

Works great, can be closed as resolved

Jan 18 2024, 5:55 AM · Arma 3

Jan 11 2024

SaMatra created T178345: isMan to quickly check if entity is man.
Jan 11 2024, 4:02 PM · Arma 3

Jan 4 2024

SaMatra added a comment to T170228: [Feature Request] Optional bool flag for getVariable to set the default value.

Here is a suggestion on how getVariableCall can be incorporated into existing command with backwards capability and also address original ticket idea:

getVariable ["var", {123}] // Return {123} code if "var" is not found
getVariable ["var", {123}, false] // Call {123} if "var" is not found and just return it
getVariable ["var", {123}, true] // Call {123} if "var" is not found, write into "var" and return it

Perhaps it can also work with non-code 2nd argument and true 3rd argument. You'll need code returning code if you'll want to default set the code though.

Jan 4 2024, 7:18 AM · Arma 3

Dec 28 2023

SaMatra added a comment to T162138: Projectile Null in HitPart EH.

Looks like its fixed @ T120107

Dec 28 2023, 2:13 PM · Arma 3

Dec 22 2023

SaMatra added a comment to T172490: JIP damage is inconsistent with the server for both pre-placed objects and dynamically spawned ones.

handledamage alters damage locally after all the networking is done but thats not all. static building damage isaccumulative dam = olddam + newdam, now say new damage is 0 because you handed it, see where Im going? setHit is actually implementable

Dec 22 2023, 8:05 PM · Arma 3
SaMatra added a comment to T172490: JIP damage is inconsistent with the server for both pre-placed objects and dynamically spawned ones.

HandleDamage and static buildings is a won’t fix, but might fix setHitxxx instead

Dec 22 2023, 7:46 PM · Arma 3

Dec 17 2023

SaMatra added a comment to T171357: Missing UAV terminal scripting commands.

how do you see this? there could be many players connected but the connection is processed locally so all you can do is check if a particular player is connected to uav where player is local

There is isUAVConnected that checks it and it works in multiplayer, remote units get true when somebody is connected, isn't there a link from UAV to whoever is connected to it? Thought it is technically possible to have several players connected through a bug, then this command won't tell the full picture. Is there any other list in the game that could help with this, apart from iterating through every unit? Add an event handler that fires when somebody connects and disconnects their terminal so such list can be tracked by script perhaps?

Dec 17 2023, 12:55 PM · Arma 3
SaMatra added a comment to T171357: Missing UAV terminal scripting commands.
  1. is done in T171207
Dec 17 2023, 10:17 AM · Arma 3
SaMatra added a comment to T170425: unitIsUAV returns false for UAV units.

Ticket can be closed as resolved.

Dec 17 2023, 10:14 AM · Arma 3

Dec 13 2023

SaMatra added a comment to T177763: All EPE* event handlers provide null object argument when collinding with simple objects.

Tested, works great now!

Dec 13 2023, 3:12 PM · Arma 3

Dec 12 2023

SaMatra updated the task description for T177832: Huge speeds during player rotation and subsequent terrible prediction of remote players positions.
Dec 12 2023, 6:28 PM · Arma 3
SaMatra created T177832: Huge speeds during player rotation and subsequent terrible prediction of remote players positions.
Dec 12 2023, 6:25 PM · Arma 3

Dec 9 2023

SaMatra added a comment to T177763: All EPE* event handlers provide null object argument when collinding with simple objects.

Semi-related ticket: T177724

Dec 9 2023, 3:49 PM · Arma 3
SaMatra edited Steps To Reproduce on T177763: All EPE* event handlers provide null object argument when collinding with simple objects.
Dec 9 2023, 2:39 PM · Arma 3
SaMatra edited Steps To Reproduce on T177763: All EPE* event handlers provide null object argument when collinding with simple objects.
Dec 9 2023, 2:38 PM · Arma 3
SaMatra edited Steps To Reproduce on T177763: All EPE* event handlers provide null object argument when collinding with simple objects.
Dec 9 2023, 2:38 PM · Arma 3
SaMatra created T177763: All EPE* event handlers provide null object argument when collinding with simple objects.
Dec 9 2023, 2:36 PM · Arma 3
SaMatra added a comment to T177010: Submunition of `shotShell` is duplicated.

This also happens in RHS, when you fire HEDP grenade ammo rhsusf_40mm_HEDP (shotShell), it has submunitionAmmo = "rhs_ammo_40mmHEDP_penetrator"; (shotBullet) which is also duplicated. It does damage only on one client but effects are multiplied by number of clients (lots of craters and thick smoke deleting all smokes from the scene due to hitting cloudlets limit).

Dec 9 2023, 8:02 AM · Arma 3

Dec 7 2023

SaMatra added a comment to T177724: Change EPEContactStart to fire before HandleDamage the collision procudes.

Can make a repro with event handlers logging if needed.

Dec 7 2023, 5:58 PM · Arma 3
SaMatra created T177724: Change EPEContactStart to fire before HandleDamage the collision procudes.
Dec 7 2023, 5:56 PM · Arma 3

Nov 30 2023

SaMatra added a comment to T176124: "HandleDamage" being called at shooter side for unrelated reasons.

Better repro mission:

Nov 30 2023, 3:34 PM · Arma 3
SaMatra edited Steps To Reproduce on T176124: "HandleDamage" being called at shooter side for unrelated reasons.
Nov 30 2023, 3:34 PM · Arma 3

Nov 26 2023

SaMatra added a comment to T177489: [Feature Request] Extend enableEngineArtillery from a global only setting to per vehicle/unit.

I'd prefer this to be a fully local setting.

Nov 26 2023, 4:17 PM · Arma 3

Nov 24 2023

SaMatra added a comment to T172144: Fuel usage coefficient.

@SaMatra can you please test the latest dev branch? both issues should be fixed now

Tested, both network sync and save-load work properly now.

Nov 24 2023, 3:48 PM · Arma 3
SaMatra created T177447: An instant alternative to execute entity actions.
Nov 24 2023, 1:49 PM · Arma 3

Nov 21 2023

SaMatra added a comment to T176526: VisualSensor Component.

Confirmed, units with VisualSensor see targets through objects, including in repro, knowsAbout return 4 right away

Nov 21 2023, 3:14 PM · Arma 3

Nov 19 2023

SaMatra created T177319: A scripting command to return lean state.
Nov 19 2023, 4:56 PM · Arma 3
SaMatra created T177317: Remote players are randomly getting stuck in leaning.
Nov 19 2023, 4:27 PM · Arma 3

Nov 15 2023

SaMatra created T177167: playSound3D doesn't work over network if path starts with leading slash.
Nov 15 2023, 6:34 AM · Arma 3

Nov 12 2023

SaMatra added a comment to T174010: [Feature Request] Getters for situations regarded to controlling units.

https://community.bistudio.com/wiki/remoteControlled
https://community.bistudio.com/wiki/isRemoteControlling
This was recently added too

Nov 12 2023, 8:03 AM · Arma 3
SaMatra added a comment to T172144: Fuel usage coefficient.

Sync issue has already been fixed. Will look into the saving issue

I hope command doesn't broadcast and its just synced in generic update message. Personally I'd preferred if it wasn't synced at all, but I'm fine with either.

Nov 12 2023, 4:04 AM · Arma 3

Nov 11 2023

SaMatra created T177038: ButtonClick no longer handles ESC menu closing.
Nov 11 2023, 3:12 PM · Arma 3

Nov 10 2023

SaMatra added a comment to T176730: setDamage ignore useEffects parameter if executed on server side → will be default(true) even if set false. Server side in pre-init work problem.

Seems to be related to my ticket again @ T172490 something isn't propagating scripted damage right over the network.

Nov 10 2023, 9:57 AM · Arma 3

Nov 7 2023

SaMatra added a comment to T176559: A scripting command to quickly check is there is a non-nil variable in entity, varspace or hashmaps.
[
     diag_codePerformance [{player isNil "testnil"}]
    ,diag_codePerformance [{isNil{player getVariable "testnil"}}]
]

>

[[0.000365157,100000],[0.000616879,100000]]

Perfect, pretty much twice as fast!

Nov 7 2023, 5:47 AM · Arma 3
SaMatra added a comment to T176559: A scripting command to quickly check is there is a non-nil variable in entity, varspace or hashmaps.

Did some testing, works great!

Nov 7 2023, 5:45 AM · Arma 3