| 08-31-2003, 02:23 AM | #1 |
Ok, I have a simple one, i just dont know exactly how to work it... hero enters region A hero vanishes from sight camera is moved to region B very very fast hero reappears in region B using a teleport animation or whatnot (like mass tele port or TP scroll or maybe hero rebirth thing) not hard in heory, jes not familiar enough. |
| 08-31-2003, 03:04 AM | #2 |
Event - - Unit enters Region A Condition - ((Triggering unit) is A Hero) Equal to True Actions - Unit - Move (Triggering unit) instantly to (Center of Region B) Camera - Pan camera for (Owner of (Triggering Unit) to (Center of Region B <gen>) over 1.50 seconds Not sure bout the special effect thing tho. Maybe you could use the create special effect trigger but i dunno |
| 08-31-2003, 03:11 AM | #3 |
gah, need one more tiny trigger...how can I make a trigger that checks the health (either numeric or %, dun matter) and only activates if the health is below specific %? |
| 08-31-2003, 03:15 AM | #4 |
Event - Unit enters Region A Condition - ((Triggering unit) is A Hero) Equal to True - (Life of (Triggering unit)) Less than or equal to 100.00 Actions - Unit - Move (Triggering unit) instantly to (Center of Region B) - Camera - Pan camera for (Owner of (Triggering Unit) to (Center of Region B <gen> ) over 1.50 seconds The life comparison is in "Real comparison" btw |
| 08-31-2003, 03:17 AM | #5 |
not what im looking for...i wanna check the health of a doodad...i shoulda been more specific...sorry! *baka self* |
| 08-31-2003, 03:19 AM | #6 |
- (Life of (Triggering unit)) Less than or equal to 100.00 Then click the (Triggering unit) part and click the button Select Unit and you can choose which unit you want to check for the health |
| 08-31-2003, 03:30 AM | #7 |
doodads dont count as units :( |
| 08-31-2003, 04:03 AM | #8 |
click on the (triggering unit) and you can change it to life of a destructible doodad |
| 08-31-2003, 04:05 AM | #9 |
so what trigger exactly do I use for that, and is it a condition,event, or an if/then trigger? |
| 08-31-2003, 04:07 AM | #10 |
Ok since doodads don't count do this. Events Map initialization Conditions Actions Set Real = (Current life of (Last created destructible)) and the condition for the teleport trigger: Events Conditions Real Greater than or equal to 10.00 Actions Real is a "real" variable. and (Last created destructible) can be set to what ever you want useing the Set action. That should do it. |
| 08-31-2003, 04:20 AM | #11 |
its two seperate triggers...the teleporter works fine, i came up with another problem. I want to make a trigger that kills a specific destructable if its life becomes 90% of its total. lets just say its HP is 1000 for the sake of this. |
