Hi, not sure if I'm hijacking the thread. I'm trying to program a unit to to switch from hold and start moving after another unit receive some damage.
I've placed this
Unit.getLife(truck1) < 2
Where "truck1" is the name of the unit to receive damage. Anyway, that crashes the engine, because there's something wrong with the grammar of it. Could you tell me how can I program this (if truck1's life less than 2) please?