HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit Takes Damage Event

03-19-2006, 07:13 AM#1
Mordiggian
Veeery simple question. I can find conditions and actions that refer to "Unit takes damage" event, but I can only find anything like that event under "Advanced" category which tells me (while saving):

Quote:
1 Compile error
Line 120: Expected a function name
03-19-2006, 07:16 AM#2
Jacek
In WEU you have Advanced - Any unit takes event

in WE you have only Specific unit takes damage. To make any unit taking damage in WE you have to loop through all units and add event to a trigger
03-19-2006, 07:20 AM#3
Mordiggian
Yep, I know that Advanced -trigger, but it does not work. Wont' compile for some reason. It shows the error message (the one I wrote in my first post) while saving.
03-19-2006, 08:10 AM#4
Captain Griffen
That advanced trigger does not work. Even if it did compile, it would still be bugged.
03-19-2006, 08:22 AM#5
Mordiggian
And those damage increasing triggers don't seem to work either? Hmm.. Is there any way to modify damage and defense? I'm planning on creating "Battle Stances" which affect the balance between damage and defense...?
03-19-2006, 08:26 AM#6
Anitarf
Sure, use a bonus mod or something of that kind.
03-19-2006, 08:28 AM#7
Mordiggian
Bonus mod?
03-19-2006, 08:29 AM#8
PhoenixFeather
Did you remember to use the Advanced - Initialize Advanced Triggers action?

EDIT: Or just enable them in Edit Map?
03-19-2006, 08:31 AM#9
Mordiggian
Quote:
Originally Posted by PhoenixFeather
Did you remember to use the Advanced - Initialize Advanced Triggers action?

Goddamn... :D Didn't remember. Thanks!

EDIT although, still gives " call InitAdvancedTriggers( )" shit when saving and disables triggers that use advanced.
03-19-2006, 08:43 AM#10
PhoenixFeather
np :)
03-19-2006, 08:45 AM#11
Mordiggian
Somehow I have a feeling that my versions of WE and WEU are incompatible since advanced triggers refuse to work..
03-19-2006, 09:15 AM#12
Captain Griffen
Then just do it manually, as was said how in the second post.
03-19-2006, 09:23 AM#13
Mordiggian
Yep, that's what I planned. Anyway, thanks for the tips guys.
03-19-2006, 12:21 PM#14
flyingsnow
You should enable advanced trigger through WE Enhancer.
03-19-2006, 01:08 PM#15
Mordiggian
Hmm... I'll try that.