Koni 1 Posted September 5, 2011 I'm trying to detect if a vehicle cannot be driven through any form of damage, like burst tyre etc. I know it can easily be detected if the vehicles destroyed with !alive, but it would be better if it can be detected once the vehicles just un-drivable instead ? I have 3 named trucks, to set off a trigger later on, one of the 3 trucks needs to be taken somewhere, but I need to fail the mission if there's just no way of getting any of them there through damage etc. If not I'll just have to use invincable vehicles, but that's a bit poor. Any ideas ? Thanks Share this post Link to post Share on other sites
sickboy 12 Posted September 5, 2011 http://community.bistudio.com/wiki/canMove Otherwise you could add a HandleDamage eventhandler to the vehicle and monitor the damage to wheels etc. Or perhaps use a tire fix module. Share this post Link to post Share on other sites
Koni 1 Posted September 5, 2011 Thanks Sickboy, ?!(canMove _vehiclename) throws up an Invalid number in expression error in a trigger I changed it around until I got something that will not error, (canMove TT1) OR (canMove TT2) OR (canMove TT3) that seems to trigger if the vehicles are drivable, but I just need to switch it around or use this info to trigger if they become not drivable. Share this post Link to post Share on other sites
f2k sel 145 Posted September 5, 2011 !(canMove TT1) OR !(canMove TT2) OR !(canMove TT3) Share this post Link to post Share on other sites
Koni 1 Posted September 5, 2011 I could of bet my life I had tried that way round... obviously not, heh Thanks F2k Sel ps. Yes I did, just didn't leave a space between the !(canMove TT1) Share this post Link to post Share on other sites