Staredit Network

Staredit Network -> UMS Assistance -> [SOLVED] Quick Bound Help
Report, edit, etc...Posted by Starkiller1 on 2006-05-29 at 06:06:30
How do you make Your Ling Stop Spawning After a Certin Amount of Deaths? Here is what ive gotten so far


Trigger
Description:
Lings
Players:
¤ Player 1
Conditions:
¤ Switch 252 Is Set
¤ Current Player Commands Exactally 0 Zerglings
Actions:
¤ Create 1 Zerg Zergling at Respawn
¤ Display Text Message "Try Again"
¤ Presurve Trigger


Then To Try to stop it...




Trigger
Description:
Lings
Players:
¤ Player 1
Conditions:
¤ Current Player has Suffored Exactally 30 Deaths Of Zerg Zergling.
Actions:
¤ Clear Switch 252
¤ Presurve Trigger


And Yet Still it Keeps Spawning Lings! >.<
helpsmilie.gif This bound is Supposed to be released in 1 day
Report, edit, etc...Posted by doodle3000 on 2006-05-29 at 07:13:41
When you bound, the explosions that kill your ling doesnt count as a unit death. A unit death is when one unit kills another unit. So the stop trigger does not fire because your zergling hasnt been killed 30 times. You need to do a Lives system with leaderboard
Report, edit, etc...Posted by AqoTrooper on 2006-05-29 at 08:01:49
There's no need for a leaderboard, and you don't need that switch either; this can all be done easily with one trigger.

Players:
owner of Zergling

Conditions:
Current Player brings at most 0 Zergling to Anywhere
Current Player has at most 30 deaths of Zergling

Actions:
Create 1 Zerg Zergling at Respawn
Display Text Message "whatever"
Modify deaths for current players: add 1 to Zergling
Preserve Trigger
Report, edit, etc...Posted by doodle3000 on 2006-05-29 at 15:16:15
Your trigger still has the same problem though, it wont fire cause 30 deaths will not have happened.

Conditions:
-Current Player Commands 0 Zerglings
-Current Player Has Atmost 29 Gas (or mins)

Actions:
-Create 1 Zergling At Location (Respawn)
-Display Text (Try Again)
-Set Resources: Add 1 Gas
-Preserve Trigger

So everytime your zergling has been killed by a trigger, it will give you 1 gas. If you have more then 29 Gas (30) then it will stop respawning your zergling. This way you dont need a leaderboard... but leaderboard is better smile.gif

EDIT: Oh, now i realize that AgoTrooper's trigger is right... mine is just another variation =). But ya, you only need one trigger, not two. Never used Set Deaths before =/
Report, edit, etc...Posted by Marandule1 on 2006-05-29 at 15:27:28
QUOTE(Starkiller1 @ May 29 2006, 12:06 PM)
How do you make Your Ling Stop Spawning After a Certin Amount of Deaths? Here is what ive gotten so far





Trigger
Description:
Lings
Players:
¤ Player 1
Conditions:
¤ Switch 252 Is Set
¤ Current Player Commands Exactally 0 Zerglings
Actions:
¤ Create 1 Zerg Zergling at Respawn
¤ Display Text Message "Try Again"
¤ Presurve Trigger


Then To Try to stop it...





Trigger
Description:
Lings
Players:
¤ Player 1
Conditions:
¤ Current Player has Suffored Exactally 30 Deaths Of Zerg Zergling.
Actions:
¤ Clear Switch 252
¤ Presurve Trigger


And Yet Still it Keeps Spawning Lings! >.<
helpsmilie.gif This bound is Supposed to be released in 1 day
[right][snapback]495124[/snapback][/right]


Mate for a start dont use switches cause thats the last thing you need for a bound except the levels >.............


Trigger
Description:
Respawn Trigger
Players:
¤ Player 1
¤ Player 2
¤ Player 3
¤ Player 4
¤ Player 5
¤ Player 6
¤ etc
Conditions:
¤ Current Player Commands Exactly 0 Zerglings
¤ Current Player Score Is Atleast 1
Actions:
¤ Center View Location Respawn On Unit For Respawn At Anywhere
¤ Wait 5
¤ Create 1 Zergling At Location Respawn For Current Player
¤ Subtract 1 Custom/etc For Current Player
¤ Text(Opitional)* You Suck You Noob*
¤ Preserve Trigger


Report, edit, etc...Posted by Starkiller1 on 2006-05-29 at 15:36:19
Ok i got it Thanks Guys biggrin.gif

I Call this Post

[ Solved ]
Next Page (1)