I have a trigger that goes like this. 1 is player btw.
Events
Unit - (Triggering unit) takes Fatal or Non-Fatal Any damage (from Any effects)
Conditions
Owner of triggering unit == 1
Actions
Unit - Order (Triggering unit) to ( Attack targeting (Returns the unit who last attacked the specified unit (Triggering unit))) (Before Existing Orders)
And I have another trigger that does exactly the same thing, only that the owner of triggering unit is 8, which is an AI. However, this trigger only seems to work on AIs and not for players. My units, which are the same as the AI, doesn't listen to the trigger at all, but the AI ones does. Any ideas why?
Is it really "Unit - (Triggering unit) takes Fatal or Non-Fatal Any damage" in your trigger? :)
Also its unclear ( Attack targeting (?Returns the unit who last attacked the specified unit? (Triggering unit))) ?
Event should be Any unit, Attack targeting "Damaging unit". Triggering unit (damage taker) cant attack itself unless you created such weapons etc
Also try "Replacing existing orders"
I have a trigger that goes like this. 1 is player btw.
Events
Unit - (Triggering unit) takes Fatal or Non-Fatal Any damage (from Any effects)
Conditions
Owner of triggering unit == 1
Actions
Unit - Order (Triggering unit) to ( Attack targeting (Returns the unit who last attacked the specified unit (Triggering unit))) (Before Existing Orders)
And I have another trigger that does exactly the same thing, only that the owner of triggering unit is 8, which is an AI. However, this trigger only seems to work on AIs and not for players. My units, which are the same as the AI, doesn't listen to the trigger at all, but the AI ones does. Any ideas why?
Is it really "Unit - (Triggering unit) takes Fatal or Non-Fatal Any damage" in your trigger? :)
Also its unclear ( Attack targeting (?Returns the unit who last attacked the specified unit? (Triggering unit))) ?
Event should be Any unit, Attack targeting "Damaging unit". Triggering unit (damage taker) cant attack itself unless you created such weapons etc
Also try "Replacing existing orders"
@Nerfpl: Go
Setting triggering unit to any unit did the job. I guess this is what happens when I am doing triggers at 2am in the morning O_O. Thanks for your help