HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit rebirth help

09-10-2004, 12:25 AM#1
BuRnInSpartan
wow this is so newby for a good triggerer but i'm having troubles with a units respawn... i set it up like so....

Unit - Watery Minion 0061 <gen> Dies
Wait 30.00 seconds
Hero - Instantly revive Watery Minion 0061 <gen> at (Center of Water Minions <gen>), Show revival graphics
Trigger - Turn off (This trigger)
Trigger - Turn on (This trigger)


o_O
09-10-2004, 02:06 AM#2
rykao
Watery minion is a hero right? Because revive only works on heroes. If its a regular unit, create a new one at that region. If it is a hero unit I'm not sure whats wrong. Might be the turn trigger on/off causing problems.
09-10-2004, 02:24 AM#3
Guest
crap. was gonna post same ting here when my internet got cut off.. anywayz, wads the trigger off/on for... its not needed unless u want the trigger to only work once.
09-10-2004, 02:24 AM#4
Guest
crap. was gonna post same ting here when my internet got cut off.. anywayz, wads the trigger off/on for... its not needed unless u want the trigger to only work once. and even for that.. the turn on trigger is not needed as once the trigger is turned off. it will ignore all future triggers
09-10-2004, 02:28 AM#5
thedevil
Quote:
Originally Posted by BuRnInSpartan
wow this is so newby for a good triggerer but i'm having troubles with a units respawn... i set it up like so....

Unit - Watery Minion 0061 <gen> Dies
Wait 30.00 seconds
Hero - Instantly revive Watery Minion 0061 <gen> at (Center of Water Minions <gen>), Show revival graphics
Trigger - Turn off (This trigger)
Trigger - Turn on (This trigger)


o_O
If watery minion is a hero then the trigger work well but what turn off/on trigger for???as u turn off it then all action below will be skip so action turn on has been skiped and when your hero die a gain it wont revive he back right?
09-10-2004, 03:13 AM#6
logik
what is the point for turning the thing on and off for?

delete it dude... and it should work...
09-10-2004, 07:50 PM#7
BuRnInSpartan
wow lol i appreactiate all the comments and i'll try but using on/off has worked
09-11-2004, 03:30 PM#8
logik
well its a waste of space generally...

its like saying turn off the light and turn it back on...
09-11-2004, 03:50 PM#9
Guest
Quote:
Originally Posted by thedevil
If watery minion is a hero then the trigger work well but what turn off/on trigger for???as u turn off it then all action below will be skip so action turn on has been skiped and when your hero die a gain it wont revive he back right?

Dude, turning a trigger off doesn't mean all actions following will be skipped. It just turns trigger off so the trigger won't work, but the trigger itself will be running until the end or a "skip remaining actions". In fact, I should place that "Trigger-Turn this trigger off" at the beginning of the trigger.

Salutions®
09-12-2004, 01:06 AM#10
BuRnInSpartan
well i remember when i made a spawn troops thing like lotr if i didn't use that i would just get units and units b/c it just ignored the event every 60 seconds.
09-12-2004, 01:26 AM#11
SpadeZ
I dont really see any problems in the trigger.
A specific unit even shouldn't overwrite itself. So i dont know what you need help with. Just make sure you revive heros and not units.
09-12-2004, 02:12 AM#12
BuRnInSpartan
wait... watery minion is a unit and it's not working even when i take off the trigger turn off and on thing... o_O
09-12-2004, 12:16 PM#13
BuRnInSpartan
sorry about the double post but i need to bump this. the triggers still don't work... watery minion is not a hero and it's not working... o_O
09-12-2004, 02:10 PM#14
Norwegian
Ofcourse the "Hero - Revive" doesn't work when the unit in question is not a hero!

Bloody fool. I suggest you stay clear of all definitions relating to "Heroes" when dealing with "Non-Heroes" in the future.

As fas as reviving the NON-HERO goes, well I don't have the Editor with me right now, but the simplest thing that I can think of would be something like this...

Event
- Generic unit event - A unit dies.
Conditions
- Unity type of (dying unit) equal to "Watery Minion"
Actions
- Wait 30.00 seconds
- Unit create 1 unit-type of (dying unit) at position of unit (dying unit) facing (default building degrees)

If you want the exact same unit to be revived, then I'd just suggest you give it Revive, or sumthin'. Can't remember if there's a trigger that revives killed "units", but I presume it is.
09-12-2004, 02:37 PM#15
BuRnInSpartan
hey dude thanks a ton!