On Goldfinger map, the gold dropoff, the truck, is protected by 8 mapper-placed landmines
They're behind a gate and a wooden board; all of these entities are func_explosive
I tried to make a GRENADE goal target them, but the trace was failing to find anything... I've been able to make one targeting the gate though (see attached ZIP)
Then I tried something planned for later: make Axis bots ignore them, following the Wiki article about ignoring shootable targets
I've been able to identify the target name, problem is if you check /entitylist, both func_explosive and target_speaker have the same one, and Axis bots are still shooting them... I'm afraid i. e. GetEntityByName( "t1087" ) grabbed the speaker and not the func_explosive, but I haven't found on the wiki the specs of "Entity" or "GameEntity" object to see if I can check that myself
The attached waypoints leave one CAMP spot available with a long targeting breakables distance (just destroy the gate with a grenade first, and bots will attempt to shot the landmines)
How to handle these two things (Allies to grenade them and Axis to ignore them)?
Thank you in advance,
Edit: Welp, the ignore seems to work... I can try to manually set the target in the _goals.gm file then for a new GRENADE goal, but I'm still interested in knowing the Entity/GameEntity object
Edited by Mateos, 02 February 2020 - 12:10 PM.