HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

A unit dies - Trigger dont work anymore?!

11-20-2004, 03:05 PM#1
abraxas
Hello, im working on a footman.

I have the trigger

event
a unit dies
conditions
or, and:
triggering unit = main building
actions
pick all units owned by(owner of (triggering unit)) and kill picked unit
messege to all (name of(owner of(triggering unit)))+ has been defeated!

The problem is that it doesnt work anymore,, it worked before, but now it stopped. Anyone knows why?
11-20-2004, 03:19 PM#2
ThE_RiDdLe
...... maybe you changed the main building unit and didnt change the condition to the new unit... else... i could take a look at it if youd give it to me ;-)
11-20-2004, 04:42 PM#3
abraxas
no, i havent..
its the same main building as it was when it worked :/
11-20-2004, 04:43 PM#4
ThE_RiDdLe
Well then...would you give me the map and let me take a look at it?
11-20-2004, 05:52 PM#5
Anitarf
Try replacing (triggering unit) with (dying unit). Meh, it probably won't help, but it's the only thing I see that could possibly cause an error.
11-20-2004, 07:59 PM#6
abraxas
i allready tried that one.. and it didnt work :(
11-20-2004, 08:25 PM#7
Guest
Copy and paste the whole code.

In the "Trigger Editor" select your trigger.
In the right window ("Trigger Functions:") select the top of the trigger code (right above events).
Next open the "Edit Menu" and select "Copy as Text" (Ctrl+Shift+C).

Sorry if this is not clear.
11-21-2004, 07:05 AM#8
abraxas
thanks to you all guys.. i got it working