| 04-07-2003, 05:07 PM | #1 |
Ok I have an area, let's say a large square region. In that region I have the effect of that wierd glowing purple stuff. It's the effect that on the undead campaign when you siege the elf town. Anyways... What I am doing is making this location be a different place ie. the spectral plane. Well what I want to happen is when the players hero's are in the area their life and mana will be slowly drained away. I messed around with the triggers, but there is some complexed math uses I have no idea how to use. Does anyone know how to make a trigger that drains life and mana, lets say every second of the game. |
| 04-07-2003, 05:10 PM | #2 |
To drain 10 HP and Mana per second: Events - Every 1 seconds Actions - Pick every unit within (Region) and do : Set (Picked Unit) health to (Picked Unit HP - 10.00) Pick every unit within (Region) and do : Set (Picked Unit) mana to (Picked Unit Mana - 10.00) |
| 04-08-2003, 02:04 PM | #3 |
Ok yea that's the general idea.. Can you be more specific. The only way I have found how to altar life and mana is with %. I don't want percent.. What do I change it to in the list of options? Could you tell me the exact name plz :D |
| 04-08-2003, 03:19 PM | #4 |
what he gave you is the exact triggers |
| 04-09-2003, 08:52 PM | #5 |
...ok look: (Picked Unit HP - 10.00) That part of the trigger. How do I get that? I know how to change the Picked Unit part.. Allthough I have no idea how to get the HP - 10.00. I was able to put in -10.00.. Allthough what this did was set the units hitpoint to NEGATIVE 10, killing it instantly. I need to know WHAT THE TRIGGER is called that lets me do a +/- number to the units life/mana. I can't figure this out. Plz help :( |
| 04-09-2003, 08:55 PM | #6 |
arthmatic function: X operatior X is that: (Picked Unit HP - 10.00) |
| 04-10-2003, 02:40 AM | #7 |
Hey thanks :) I appriciate it. |
