#Maybe the mission disables simulation of
1 messages · Page 1 of 1 (latest)
simulationEnabled triggur returns true
but isNull returns true also
sooo it's removed I guess
Yes, isNull returns true if var exists, but object was removed. But why simulationEnabled also returns true? Try simulationEnabled objNull.
also returns true
Anyway, either the trigger is removed or its simulation is disabled.
Interesting. I expected false.
in Eden editor, enable dynamic simulation is disabled
but that's different thing I guess
Yes, but I think that the result will be the same.
A trigger is just object.
so it can be really just any function deleting a object, and it would loop through all triggers?
looking for "trigger" in all files also doesn't show anything useful
Yes.
ok, but well then it somehow needs to get a list of all triggers on mission, is there a function for it?
https://community.bistudio.com/wiki/allMissionObjects, for example.
yeah testing it now
on init.sqf
private _allTriggers = allMissionObjects "Trigger";
{ ["DEBUG", "Trigger List", format ["Trigger: %1", _x]] call CTI_CO_FNC_Log } forEach _allTriggers;
just doesn't run lol
so seems like they are removed even before init.sqf
"Empty_Detector"
instead of trigger?
Yes.
¯_(ツ)_/¯