Search the Community
Showing results for tags 'getmissionlayerentities'.
Found 2 results
getmissionlayerentities Check if unit in getMissionLayerEntities
rkemsley posted a topic in ARMA 3 - MISSION EDITING & SCRIPTINGI have a trigger that adds all OPFOR units to the OPFOR Curator (basically reinforcements) when the units enter an area. However, I already have some units in the area that I don't want automatically added to the OPFOR Curator. I have them all grouped in the "MissionLayerEntities" called CampZeloran_Units, however, I am not sure how to tell the computer to check if the unit is in the "getMissionLayerEntities". Please help!
remoteexec remoteExec "deleteVehicle"
rkemsley posted a topic in ARMA 3 - MISSION EDITING & SCRIPTINGI have some boxes (Weapon's Cache) scattered across my map. They can be "retrieved" by any BLUFOR player (BLUFOR player has to use the hold action), which removes the box, adds CuratorPoints to all BLUFOR Curators and removes the question mark from the map (where the box is located). They can also be "destroyed" by any Independent unit (Independent player and AI has to use the hold action), which removes the box and removes the question mark from the map (stopping the BLUFOR Curators from gaining CuratorPoints). I currently have this in the init of all the boxes scattered across the map. When used by any player, the trigger just removes the question mark from the map and nothing else. I think I need to use remoteExec for the deleteVehicle part and the addCuratorPoints, but I do not know how to use that function. Please help!