| 06-01-2002, 08:04 AM | #1 |
Guest | I've been making an RPG for some time now and i have not figured out how to do a couple of very important things. The first problem is with respawning my heros. I want to make it so when they die, they respawn back at town with a hit to thier exp and/or they drop all their items and lose gold. So far I have had no success. I can't even make them respawn, let alone do the other things. I have tried this trigger/variations of this trigger: Event: Unit dies Condition: Unit is a hero Action:Hero - instantly revive(triggering unit) at town Now I would assume this would work...but it does not. Ive tried several other trigger combos, but none of them worked either this is my main problem. If you could get the gold losing/item dropping/exp losing working that would be good also. Secondly, I was playing with locking the camera to my character. This worked fine until my character died, then it got locked to where he died...no matter what triggers i used... Just wondering if you had any good ideas for triggers concerning locking the camera to the hero diablo style. Last problem: the sky, I can't get a sky to work. ive tried setting the sky in the map properties, nadda. I've tried using Set Environment sky: Lordaeron Fall nothing.....any suggestions??? Thanks for any help |
| 06-01-2002, 08:49 AM | #2 |
A few things. Now instead do "Player owned unit dies" and copy&paste the trigger for however many players you have. THEN it will work, cuz look at yer event: "Unit dies" Do you see a reference to a player in there? Nope. That means "triggering player" won't work. You MUST do this trigger independently for each player. (DO NOT use the local player option -- it will cause network desyncs in multiplayer). As far as locking the camera, try resetting the camera to normal mode (there's a trigger for that), and THEN try locking it back on the hero. |
| 06-01-2002, 12:25 PM | #3 |
Guest | For the sky. The sky is for nothing I think yet. But I think it help to turn on wether on. |
| 06-01-2002, 03:25 PM | #4 |
The only sky that does work is generic or dalaran which actually doesn't look that great unless you aim it upward (The camera that is). |
| 06-01-2002, 10:19 PM | #5 |
Guest | just change it to this Event Unit Dies Condition: Unit is a Hero Action:Hero - instantly revive(dying unit) at town and that should work |
