I meant to say for the condition "box in thisList" to be taken into account, I have to set a condition such as BLUFOR present then in the condition field add "this && box in thisList", but still, it will only work if "box" is a unit or a vehicle with a unit onboard, not an inanimate object such as a prop.
For context, my script is currently doing a comparison of distance on Init, using a few memory points i've added to my model LOD.
The problem starts when my script is comparing the two distances to find the smallest one, for some reason in engine, under object init, the selectMin command returns -1.
https://ibb.co/BCGmzwn https://ibb.co/LtYD6rJ
These images represent my script in its current state of which i've swapped apply for a forEach loop, and selectMin for BIS_fnc_lowestNum and then BIS_fnc_findExtreme in 0 mode.
All 3 attempts have netted -1 as a result which will not help me in anyway meaningful.
AH-1Z
RC11 (no RC10 I realize, though that incorporated hit point adjustment)
- Cleaned up shadow LODs, removing legacy stuff
- Main rotor shadow is visible
https://drive.google.com/file/d/11xngjjatrHjHNrg2bl5tdAYNdyQSdG0N/view?usp=sharing
The condition "this && box in thisList" should be accurate.
The contents of thisList should depend on the trigger's activation.
For example, if a trigger is set with the condition "any player" and "present," only players will be included in thisList.
For objects, I believe the conditions were "ANY" and "present."