| 08-31-2003, 10:35 PM | #1 |
the only non-animation caller i have is I want to have something trigger when a hero unit touches another unit (a building, icecrown obelisk specificly). I also want to know how to change the animation of a building from 'stand' to 'stand alternate' to 'stand work' depending on the situation. |
| 08-31-2003, 11:39 PM | #2 |
Use as Event Unit type health=/>99% Condition Attacking unit=Hero then do your actions. |
| 09-01-2003, 12:00 AM | #3 |
no, i mean like the hero walks up t osomething...this isnt the door. the basic premise is the hero touches the obelisk and gets transported. |
| 09-01-2003, 12:07 AM | #4 |
Thats wat i meant, this "touch" is an attack, just give the obelisk a huge health regen and super health. If u want to u could but a region around the rim of the obelisk and use: Event: Unit enters region Condition: Triggering unit=hero Action: Were u want the hero to go. |
| 09-01-2003, 12:28 AM | #5 |
hm...there's a 'unit issued order targeting object', is there a 'wait until triggering order completed' thing? |
| 09-01-2003, 01:31 PM | #6 |
Combine the region idea with the "unit is issued an order" idea. You want the player to have to select the character, then click on whatever it is you want the character to "use" or "search" or something like that, right? Well, set up a region around the thing you want the character to use. Then have an event that runs the region check and an event that runs the "issued an order" check, and cross-reference them. That way, walking into the region won't trigger the action until the player issues the order, and issuing the order won't trigger it until the character walks into the region. I do hope it's a particular unit you want to look at, otherwise this process might be trickier than it sounds. |
