Howard 0 Posted July 28, 2009 What condition do you need on a trigger to make it activate when the armor of a vehicle drops below ex. 30%? I tried "armor vehicle < 30" but I just get a "Missing ;" error, I guess "armor" isn't really a command... Share this post Link to post Share on other sites
kylania 568 Posted July 28, 2009 damage tankObject > 0.7 Share this post Link to post Share on other sites
JDog 11 Posted July 28, 2009 Just to clarify so you know, kylania means the name of the tank for "tankObject", don't actually type tankObject in there unless that's what you name the tank. So if you name it tank1, the command for checking if it's under 30% would be as kylania said: damage tank1 > 0.7 The game's health/amor/ammo values dont operate from 0-100 like percentages, it's 0-1. So 30% is 0.3. So since you're going by armor, 30% or less armor means 70% or more damage, thus the "> 0.7". Hope that clears some stuff up if you didn't know already. Share this post Link to post Share on other sites
Howard 0 Posted July 28, 2009 Works perfectly, thanks ;) Share this post Link to post Share on other sites