Staredit Network

Staredit Network -> UMS Assistance -> Respawn Item Trigger not working?
Report, edit, etc...Posted by Staredit.Net Essence on 2005-01-02 at 01:56:36
I'm trying to do the unit respawn if the unit is not at this loaction for 5 seconds it will be created

My Item Respawn trigger

i'm too lazy to show how i did it tongue.gif
Report, edit, etc...Posted by LS-Baba on 2005-01-02 at 04:17:30
Sorry, I can't read your trigger cause sc is not installed on this comp but I think it goes..

Players: Player

Conditions: Current Player Brings exactly 0 *unit* to *location*

Actions: Wait 5000 milliseconds
Create 1 *unit* at *location* for Current Player
Preserve Trigger

Sorry if this is the trigger that you already have. Also, I don't think that this is actually what you mean because if that unit goes BACK into the location, the unit will still spawn anyway.
Report, edit, etc...Posted by chuiu on 2005-01-02 at 09:35:09
LS-Baba, that will check to see if a unit is not there then wait 5 seconds and re-make it.

CrazyOversizedNameBoy, what you could do is have 3 triggers. One that waits 5 seconds and then activates a switch. And another one that clears the switch and creates the unit if the unit still isn't there. And then a third to deactivate the switch and do nothing if the unit is there in the 5 seconds.

Sorry I didn't make the triggers for you to see, I'm too lazy to show how I did it.
Report, edit, etc...Posted by Staredit.Net Essence on 2005-01-02 at 16:36:21
QUOTE(LS-Baba @ Jan 2 2005, 04:17 AM)
Sorry, I can't read your trigger cause sc is not installed on this comp but I think it goes..

Players: Player

Conditions: Current Player Brings exactly 0 *unit* to *location*

Actions: Wait 5000 milliseconds
            Create 1 *unit* at *location* for Current Player
            Preserve Trigger
           
Sorry if this is the trigger that you already have.  Also, I don't think that this is actually what you mean because if that unit goes BACK into the location, the unit will still spawn anyway.
[right][snapback]117975[/snapback][/right]

I used that trigger
Note: Can powerUps be created? (Not Xtra powerups)
Report, edit, etc...Posted by LegacyWeapon on 2005-01-02 at 17:21:58
Powerups can be created.
Report, edit, etc...Posted by Staredit.Net Essence on 2005-01-02 at 19:06:15
Can anyone tell me the triggers cuz i tried switchs but it failed....
Report, edit, etc...Posted by LS-Baba on 2005-01-02 at 19:18:24
QUOTE(LS-Baba @ Jan 1 2005, 11:17 PM)
Sorry, I can't read your trigger cause sc is not installed on this comp but I think it goes..

Players: Player

Conditions: Current Player Brings exactly 0 *unit* to *location*

Actions: Wait 5000 milliseconds
            Create 1 *unit* at *location* for Current Player
            Preserve Trigger
           
Sorry if this is the trigger that you already have.  Also, I don't think that this is actually what you mean because if that unit goes BACK into the location, the unit will still spawn anyway.
[right][snapback]117975[/snapback][/right]



QUOTE(Chu @ Jan 2 2005, 04:35 AM)
LS-Baba, that will check to see if a unit is not there then wait 5 seconds and re-make it.

[right][snapback]118023[/snapback][/right]


Yeah, I am not that good at map making to do the one you suggested. I've always wondered how to do this, thanks for the suggestion Chu I get it now!!
Report, edit, etc...Posted by Staredit.Net Essence on 2005-01-02 at 19:36:35
Doesn't ANYONE know HOW TO DO IT!
You guys aren't advance to me now....
Report, edit, etc...Posted by Urmom(U) on 2005-01-02 at 19:47:55
ok heres a beginner telling you telling over all these advanced biggrin.gif :


null
Trigger
Conditions:
¤ Player 1 brings exactly 0 men to "location1"
Actions:
¤ wait 5000 miliseconds
¤ set "check"
¤ preserve trigger


Trigger
Conditions:
¤ player 1 brings exactly 0 men to "location1"
¤ "Check" is set
Actions:
¤ create 1 unit at "loation1"
¤ clear "check"
¤ Preserve Trigger


Trigger
Conditions:
¤ player1 brings at least 1 men to "loaction1"
Actions:
¤ clear "check"
¤ preserve trigger[/a]


im pretty sure that will work. im sick right now so im not positive or thinking straight
Report, edit, etc...Posted by LS-Baba on 2005-01-02 at 19:51:29
hey beginner man, how do you get that trigger format table thingy?

I've sent Wolf man a trigger similar to yours but better, I'm not sick that's why w00t.gif
Report, edit, etc...Posted by Urmom(U) on 2005-01-02 at 19:55:31
use the bb-code called trigger. itll guide you through on how to use it(its location is between list and progress and under color)

BTW, mine was very basic wink.gif
Report, edit, etc...Posted by LS-Baba on 2005-01-02 at 20:07:33
ok thanks
Report, edit, etc...Posted by chuiu on 2005-01-02 at 20:22:42
urmom, you just made the triggers I explained but left out the one that clears the switch when a unit is actually there.
Report, edit, etc...Posted by LS-Baba on 2005-01-02 at 21:55:49
ok I think this is done, I've sent the triggers that Chu helped me make with his bit of info to Wolf man allll done..
Report, edit, etc...Posted by Urmom(U) on 2005-01-03 at 16:21:21
o yes chu your right, i forgot about that (its fixed) and yea they basically are the same as yours but he asked for an exact trigger after you had said it so i put it in a trigger.
Next Page (1)