Jump to content
Sign in to follow this  
bobrock011

Activate trigger by unit type

Recommended Posts

How do I get the trigger to activate to specific unit type, such as armor? I do not want to use unit names or grouping with the trigger because enemy units are dynamically spawned in game. How do I get trigger to catch these by type(class)?

Thanks for any advice!

Share this post


Link to post
Share on other sites

The first works on general types of vehicle such as "tank","car","landvehicle","air" ect

{_x iskindof "tank"} count thislist >0

This finds the actual vehicle type "M1A1" will only work on the M1A1 tank

{typeof _x == "m1a1"} count thislist >0

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×