HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger help

01-11-2004, 06:42 PM#1
sov_marksman
How would i do this, if a unit has 0 mana, it cant attack.. is that possible?
01-11-2004, 06:44 PM#2
Hunter0000
EVENT
A unit is attacked
CONDITION
Attacking units mana = to 0
ACTION
issue order to attacking unit "stop"


there ya go
01-11-2004, 06:47 PM#3
Narwanza
This is how I would do it.


[i]Events:
A unit is attacked

Conditions:
mana of (attacking unit) equal to 0

Actions
Order (attacking unit) to stop

[edit] lol, hunter and I were writing our posts at the same time. We both had the same answer too. lol
01-12-2004, 12:30 AM#4
AllPainful
Me personally, I would do it without triggers.

You want the units attack to cost mana?

Don't give it an attack at all.

Give it a modified "Searing Arrows"

Wallah, each attack costs mana and it can't attack if it doesn't have mana.


But that would only work if you want the attacks to cost mana