Search the Community
Showing results for tags 'thisList'.
Found 4 results
-
get unit X to join a group when he is in an area
Alpart posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Problems on join I need a trigger to snatch to people from a group and make them join another group. I have options to do a radio-trigger to make say 2 people out of 6 to join a group. But only 2. The group the join is called TRUCKDRIVERGROUP, the leader is called Driver1truck. I dont know which one will be chosen for the "drive Job", therefor i dont know the NAMES of the units-. i tried following -> trigger Area 50x50 blufor present condition (for now) is This ACT failed option 1 [(vehicleVarName (thisList select 0))] joinsilent Sl1; failed option 2 NameVAR1 = vehicleVarName (thisList select 0 NameVAR1 joinsilent Sl1; And tried a lot of others to.. So please help me figure this out. -
Hello, For my ambush mission start in a city with various group and units hidden arround, I would like start with all units in given area say "zone1" I want to get a gerenric trigger that I can use to change value of a large number of units (behaviour, combat mode, disable ai, unitpos...) I drop a trigger on the zone activated by East in activation in write: zone1=thislist; {_x setCaptive true} forEach thislist; this is working find. But when I want to cancel setCaptive , I put in an other trigger and write: {_x setCaptive false} forEach zone1 but it dosent work, I also tried {_x setCaptive false} forEach units zone1 I guess the zone1=thislist is maybe a wrong syntax Can anyone tell me the good syntax to call all unit of a given zone ? thank you in advance SKNAM
-
delete all BUT a few specific vehicles in a trigger
WurschtBanane posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
This is the trigger on Act: {deleteVehicle _x} forEach thisList; I want to disable deletion for three Hemtt trucks (rearm, refuel, repair) placed in that area. I called them Refuel_Truck, Repair_Truck and Rearm_Truck. How? And if u gave me an example i would be pleasured. -
[SCRIPT] Trigger List Changed v2.1 - Handle units which entered/left a trigger's list
Heeeere's johnny! posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Trigger List Changed - v2.1 This script is about handling units which enter or leave a trigger's list or trigger area respectively. This is different from handling "thisList" or "all units inside/outside the trigger". It's easy to handle units in the trigger's "thisList", but handling only those which just entered or just left is a different story. Such distinction might be important for instance if a certain value/operation should be added/reduced/applied/executed only on such units or when a unit enters in the very same 0.5 seconds as another unit leaves, which would let the number of units in thisList remain unchanged while one unit is actually different. This function should be executed server side only! Feel free to use, adapt, expand (and maybe give credit if you consider it useful, I'd be grateful :)). Download v2.1 from Armaholic Changelogs: Have a nice Play!