[A3B] Unitnames not working when units get in car?
Hey, i have a problem with unit names right now. I got a group of units named which enter an empty vehicle and drive a certain way. Now the trigger for a task to complete is those units not beeing alive anymore. The condition of the trigger looks like that:
(!alive obj1_unit2) AND (!alive obj1_unit3) AND (!alive obj1_unit4) etc.
And it works when i kill the units after they dismount from the vehicle. But when i kill them in the vehicle with an explosive charge along the road the trigger does not fire. I also noticed with a killticker that if units that entered a vehicle get killed in it there is no name shown in the killticker. something about that:
Normal kill: "Blabla killed Autorifleman" Killed while in vehicle: "Blabla killed"
Is there a fix for that?
Posted Jun 30, 2013, 7:14 PM UTC
12
Might want to submit a bug report for this. In the mean time you could always work the explosion of the vehicle in as a condition in the trigger. Might be a bandaid fix you can use in the mean time.
yeah, i'll do a bug report. Can't use the vehicle though since the vehicle is part of the task. Its not needed for it to survive but it gives you a little edge if it does because you need a ride and some supplys which the vehicle contains for the rest of the mission.