HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Anti - Tk Trigger - Why doesnt this work?

11-26-2006, 11:25 AM#1
Fulla
Trigger:
TeamKill
Collapse Events
Unit - A unit Is issued an order targeting an object
Collapse Conditions
Collapse And - All (Conditions) are true
Collapse Conditions
((Owner of (Target unit of issued order)) is an ally of (Owner of (Ordered unit))) Equal to True
(Issued order) Equal to (Order(attack))
Collapse Actions
Unit - Order (Ordered unit) to Stop

I cant get my head round it.
Shouldnt this work?

The unit just continues to attack.
11-26-2006, 12:40 PM#2
Rising_Dusk
Trigger:
Untitled Trigger 001
Collapse Events
Unit - A unit Is issued an order targeting an object
Collapse Conditions
((Owner of (Ordered unit)) is an ally of (Owner of (Target unit of issued order))) Equal to True
(Issued order) Equal to (Order(attack))
Collapse Actions
Unit - Order (Ordered unit) to Stop

Try without that "And all conditions are true" part.
I just tested it, it should work without that.

GUI triggers assume "and" between conditions if you don't specify "or", so it's no problem anyways.
If that doesn't fix it, then I don't know what to tell you --
It should work.
11-26-2006, 01:28 PM#3
Captain Griffen
Use:

Trigger:
Unit - Pause triggering unit.
Unit - Order triggering unit to stop.
Unit - Unpause triggering unit.

You may wish to only unpause if it isn't already paused (ie: add in a check).
11-26-2006, 01:46 PM#4
Fulla
aha, that did it thx Griff ^