Search the Community
Showing results for tags 'typeof'.
Found 3 results
-
How To Check If Trigger Area is Clear Of Everything?
revv posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
As the title says I am trying to do a check if a trigger area is completely empty before spawning an object via an addAction. Here is the addAction on an object: this allowDamage false; this enableSimulation disable; this addAction ["Get Wheel","scripts\boxWheel.sqf"]; and here is the script: wheelBox = [getPos boxSpawn,0,"ACE_Wheel",WEST] call BIS_fnc_spawnVehicle; the name of my trigger is: boxTrigger_01 How do I set it to check if the trigger area is completely empty before executing the addAction/script? -
(Solved, new problem)TypeOf not working well?
Erwin23p posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, I'm trying to do a script where just a certain class of vehicles can acces. I have an Array with the classnames: then, I have another array in which the vehicles on the map that correspond to that type of classname are added to this other array. Well my problem is when the script adds the desired vehicles to the new array, they don't get in the array as the classname, but as the .p3d file and some random numbers. -
Hey! I've tried searching for two days but haven't found much. I'm trying to use hideObjectGlobal to clear a field on Altis and can't get rid of field toilets. I also can't seem to find the type of any of the objects neither. My question is. Does anyone have a full list of object groups for ArmA3? As in "HOUSE", "TREE", "WALL", "FENCE", but also "CAR", "TANK", "AIR", etc etc. I'm struggling to figure out under which category the field toilets fall under.. :/ Any help would be much appreciated! :)