Staredit Network

Staredit Network -> UMS Assistance -> respawning problem
Report, edit, etc...Posted by phlemhacker99 on 2005-03-29 at 23:28:20
I aking this map and im haveing a bit onf a respawning problem. I was wondering if someone could take a look at it and tell me how to fix it. While im at it does it look like it has potential? thanks a bunch
Report, edit, etc...Posted by PhoenixRajoNight on 2005-03-30 at 02:11:03
Im not quite sure what it is your refering to that your haveing a problem with, but im guessing you mena your countdown is not working right or not respawning or w/e. Your key problem if this is the case, is the waits u are using, your going tohave to find an alternate way to do it, waits are to hard to get to work right, and especially if you ever want to put hyper-triggers in it, i learned this the hardway.

Maybe some triggers along the lines of this:

Trigger
Description:
Start Countdown
Players:
¤ Player(s) here
Conditions:
¤ Current Player brings exactly 1 Terran Civilian to 'respawn'
Actions:
¤ Move all Terran Civilian at 'respawn' to 'temporary location'
¤ Set 'Countdown 10'
¤ Preserve Trigger
¤ Comment: Start Countdown


Trigger
Players:
¤ Player(s) here
Conditions:
¤ 'Countdown 10' is set
¤ Current Player brings exactly 1 Terran Civilian to 'Temporary Location'
Actions:
¤ Clear 'Countdown 10'
¤ Set 'Countdown 9'
¤ Display text for current player: 10 seconds to respawn!
¤ Preserve Trigger
¤ Comment: Countdown 10


Trigger
Players:
¤ Player(s) here
Conditions:
¤ 'Countdown 9' is set
¤ Current Player brings exactly 1 Terran Civilian to 'Temporary Location'
Actions:
¤ Clear 'Countdown 9'
¤ Set 'Countdown 8'
¤ Display text for current player: 9 seconds to respawn!
¤ Preserve Trigger
¤ Comment: Countdown 9


........All the way to 0 then this

Trigger
Players:
¤ Player(s) here
Conditions:
¤ 'Countdown 0' is set
¤ Current Player brings exactly 1 Terran Civilian to 'Temporary Location'
Actions:
¤ Clear 'Countdown 0'
¤ Display text for current player: You have been respawned!
¤ Move all Terran Civilian at 'temporary location' to 'Respawned Location'
¤ Preserve Trigger
¤ Comment: Respawn


I know its a long and complicated proccess, but its an alternative that will work, I'm sure someones gonna come here with a better idea, but til then you can use that and it should work/
Report, edit, etc...Posted by (U)Bolt_Head on 2005-03-30 at 02:51:08
phlemhacker99: Your triggers are way off, i'm trying to figure out why you expect them to work.

The two things i noticed was 'kill' trigger and 'respawn part 1' The kill trigger has improper conditions that requires you to have at LEAST 0 of a bunch of differant units.

Well If you have at least 0 you can have 0, 1, 2, 3 ... and any number so saying Command at least 0 marine is the same as saying Always. So that trigger constantly spawns Civs on your respawn location.

Then your respawn trigger. If they bring Exaclty 1 to respawn then it does all the actions. Well first off it will fire at the start because your other trigger creates a Civ there at the start. Then before the trigger can repeat there will be alot more civs at that location so it won't fire again.

I don't feel like suggesting a trigger for you so look at someone elses. (didn't look at the one above this post maybe i will now)

Edit: Uhh yeah i wouldn't use PhoenixRajoNight's trigger. You don't need to get into doing all those switches. It will just make it more complicated, besides it won't work the way he has it listed. First off all the triggers would run though at once and it would seem like no time passed at all and secondly if it did work you would have problems with multiple players because switches are global.
Report, edit, etc...Posted by PhoenixRajoNight on 2005-03-30 at 14:04:56
Yea I realized this morning reading through it theres no time inbetween them, sorry i did it up right before I went off to bed, was kinda tired so I wasnt thinking right.

Here these triggers will work:
Go into unit settings and find a unit you dont use in your map and name it 'Respawn Civ' that way we can make things easy to understand for later editing.

Trigger
Description:
Start Countdown
Players:
¤ Player(s) here
Conditions:
¤ Current Player brings exactly 1 Terran Civilian to 'respawn'
Actions:
¤ Move all Terran Civilian at 'respawn' to 'temporary location'
¤ Preserve Trigger
¤ Comment: Start Countdown 1


Trigger
Players:
¤ Player(s) here
Conditions:
¤ Current Player brings exactly 1 Terran Civilian to 'Temporary Location'
Actions:
¤ Modify Death counts for Current Player: Add 1 for 'Respawn Civ'
¤ Preserve Trigger
¤ Comment: Start Countdown 2


Trigger
Players:
¤ Player(s) here
Conditions:
¤ Current Player brings exactly 1 Terran Civilian to 'Temporary Location'
¤ Current Player has suffered exactly 2 deaths of 'Respawn Civ'
Actions:
¤ Display text for current player: 10 seconds to respawn!
¤ Preserve Trigger
¤ Comment: Countdown 10


Trigger
Players:
¤ Player(s) here
Conditions:
¤ Current Player brings exactly 1 Terran Civilian to 'Temporary Location'
¤ Current Player has suffered exactly 4 deaths of 'Respawn Civ'
Actions:
¤ Display text for current player: 9 seconds to respawn!
¤ Preserve Trigger
¤ Comment: Countdown 9


...............................All the way to 1 then this

Trigger
Players:
¤ Player(s) here
Conditions:
¤ Current Player brings exactly 1 Terran Civilian to 'Temporary Location'
¤ Current Player has suffered exactly 22 deaths of 'Respawn Civ'
Actions:
¤ Display text for current player: You have been Respawned!
¤ Modify Death counts for Current Player: Set to 0 for 'Respawn Civ'
¤ Move all Terran Civilian at 'Temporary Location' to 'Respawn'
¤ Preserve Trigger
¤ Comment: Respawn


If you have hyper-triggers in you map youll have to time each interval by 12 to get the same wait time inbetween, and having would also alow you more felxibility, in if you are using the hypertrigers you can have 1.5 seconds in between by using 18 or w/e. Well that should work nvm the other set i suggested i was so tired i wasnt thinking.
Report, edit, etc...Posted by phlemhacker99 on 2005-03-31 at 18:12:49
sorry i didn't reply sooner(im grounded but thanks for the help.
Next Page (1)