N
NoRegister
Guest
Basically with this trigger, I want to have a unit enter a region. When they enter a region, I want them to be able to control a specified, neutral unit. But so long as they are in that region and are controlling this new unit, I want the triggering unit to have no classification to be able to attack any kind of unit whatsoever. They should lose their attacking abilities as long as they are in the region. Anyone know what's wrong here? They still are able to attack.
Code:
Enter
Events
Unit - A unit enters Region 1 <gen>
Conditions
((Triggering unit) is A ground unit) Equal to True
((Triggering unit) is Mechanical) Equal to False
Actions
Unit - Change ownership of Priest 0060 <gen> to (Owner of (Triggering unit)) and Change color
Unit - Remove Able to attack ground units classification from (Triggering unit)
Unit - Remove Able to attack flying units classification from (Triggering unit)


