HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Can anyone explain why this simple trigger isn't working?

08-06-2002, 11:11 PM#1
Sardius
In Undead level 2... I added a trigger for Uther...
A very simple one that usually works for me but it doesn't work here...

Event: When selected Unit "Uther" falls below 700hp
Condition: None
Action: Order Unit "Uther" to attack random point in Necropolis region...

I engaged uther in battle and got him down to about 500hp and died and I waited but he never came, he just sat there, any idea why it didn't work?
08-07-2002, 05:15 AM#2
Guest
Not quite sure what you are trying to accomplish there, but when "uther" got below 700hp, was he selected at the time? May want to try 'triggering unit' --like i said tho.. i don't really understand what it is that you are trying to do..
08-07-2002, 07:56 AM#3
Guest
As far as I can tell, this "Uther" is owned by a computer. The computer player will be constantly telling his units to do something, so whatever the computer tells Uther to do after getting lower HP, he'll do that, instead.

In addition, this trigger will happen infinitely... Meaning that he will constantly be told to attack a different location, so he might just be standing there waiting for the latest command to execute.

Try changing him to Neutral Hostile (or, perhaps, Neutral Passive?) at the beginning of the Trigger, and if that doesn't work, add a "Disable this Trigger" Action...
08-07-2002, 09:36 AM#4
Sardius
Tried that. But nope, same thing... He just returned back to his guad position like something was sending him there with a higher priority... maybe if I trigger a suicide assault command.
08-07-2002, 07:17 PM#5
Guest
The trigger won't execute infinately if you put in "Trigger - Remove from trigger queue" as the very first thing in the actions list, that way he goes below 700hp, the trigger executes and shuts itself off and completes the actions in the queue.

My guess too was that the game AI would have priority over it's own unit's commands. Same way if you put a trigger in for one of your own units to go do something, if you see you peasants walking off somewhere you'll re-direct them to where 'you think' they should go.

Maybe create a neutral player, as the trigger executes GIVE uther to the neutral (passive perhaps) player, set the colour back to what it SHOULD have been for the computer, and order him to attack the random location in whatever region.

-Nicodemus
08-07-2002, 08:35 PM#6
Guest
that's pretty simple.

when you tell a unit to "attack", "attack ground", "move-attack" or anything like that, it will attack every enemie that enter the unit's aquisition range... that mean's uther will attack any nearby enemie insteand of moving to the region...

make the trigger to MOVE to region instead of ATTACKING region...