- Reaction score
- 126
Ok for the catupult thing, how come it just attacks my guy directly and not just a point. cause i have something like all units in region matching condituion is unity type equal to demolisher, attack ground at random point in region. I dont know if thats the proble.
Maybe its because somethings wrong in the object editor?
Code:
Catapult fire
Events
Time - Every 3.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in Region 014 <gen> matching ((Unit-type of (Matching unit)) Equal to Demolisher)) and do (Unit - Order (Picked unit) to Attack Ground (Random point in Region 010 <gen>))
Unit Group - Pick every unit in (Units in Region 015 <gen> matching ((Unit-type of (Matching unit)) Equal to Demolisher)) and do (Unit - Order (Picked unit) to Attack Ground (Random point in Region 011 <gen>))
Unit Group - Pick every unit in (Units in Region 016 <gen> matching ((Unit-type of (Matching unit)) Equal to Demolisher)) and do (Unit - Order (Picked unit) to Attack Ground (Random point in Region 013 <gen>))
Maybe its because somethings wrong in the object editor?