- Joined
- Jul 18, 2012
- Messages
- 136
Solved!
Last edited:
post triggers or upload map
No way im not uploading map! i can post triggers only!
- Revive Heroes
- Events
- Unit - A unit Dies
- Conditions
- ((Triggering unit) is A Hero) Equal to True
- Actions
- -------- Revives a hero after X seconds --------
- Custom script: local unit u = GetTriggerUnit()
- Custom script: local integer p = GetPlayerId(GetTriggerPlayer())
- Wait 5.00 seconds
- Custom script: call ReviveHeroLoc(u, udg_ReviveLoc, true)
- Custom script: call PanCameraToTimedLocForPlayer(Player(p), udg_ReviveLoc, 0.)
- Custom script: call SelectUnitForPlayerSingle(u, Player(p))
- Custom script: set u = null
can u explain what is happening. also it may be that ur reviveLoc is getting overwritten by another trigger. lol and theres no big deal about uploading map
1) Don't worry: that variable's set correctly. In the video, you also see that the camera changes position. It also uses ReviveLoc, meaning that the variable is correct.Some Problems:
1. Custom script: call ReviveHeroLoc(u, udg_ReviveLoc, true) Where the hell is the "set ReviveLoc" ?
2. Your Wait 5 seconds means if someone elses hero dies around the same time it will overlap the other person who had a hero die. So That's kinda a issue when you do get it to work lol.
Nah.Truly He should be using Timers ^_^
1) Don't worry: that variable's set correctly. In the video, you also see that the camera changes position. It also uses ReviveLoc, meaning that the variable is correct.
2) Local variables...
I should add: this works when I test it, but it doesn't for him and his friend (and maybe for other people as well).
The only differences I can spot, is that he might be using a protected version and Garena, while I used the unprotected version and just... regular Warcraft, no stupid stuff. I've never heard of those breaking a game, though (as long as the protection is done correctly ).
Edit:
Nah.