Staredit Network

Staredit Network -> UMS Assistance -> spawning glitch
Report, edit, etc...Posted by JB4times4 on 2006-06-27 at 13:02:24
alright when people leave my map it starts spawning units uncontrolably. it is only supposed to spawn 1 unit until the level ends. then kill the current one and spawn another in the middle. the problem is when someone leaves it spawns a ton in the middle.
Report, edit, etc...Posted by KinG_JaKe on 2006-06-27 at 13:57:55
You have the trigger saying that as long as the switch is set it will create 1 shark, you should have it current player commands at most or exactly 0 sharks create 1 shark. At least thats what I think it is, I didn't take a very long look at the map, and I wasn't able to play it.
--Your triggers are confuseing their are way to many of them for a map with 4 or 5 locations. GL and plz post what you are trying to do with the map because I could not play it and from looking at the editor i couldn't tell. ...GL
Report, edit, etc...Posted by JB4times4 on 2006-06-29 at 10:40:25
QUOTE(JB4times4 @ Jun 27 2006, 01:05 PM)
alright heres the background of my map.
object for minnows- get from the left to right without dieing
object for sharks-    kill all the minnows
when a minnow is killed it gets a shark in the middle of the map.
[right][snapback]514381[/snapback][/right]



ADDITION:
any help?
Report, edit, etc...Posted by n0b0dy- on 2006-07-01 at 21:12:00
Ok, I'm gonna be lazy, and the download isn't working for me so heres an easy solution...

All players will need some sort of unit that they will have, for example a pylon.

Conditions:
Player 1 commands exactly 0 pylon
---------actions---------------
Remove all any unit for player 1 at anywhere
Preserve trigger


This will make it so that if player 1 leaves, his things belong to player 12 ( neutral ) so then, player 1 will have no pylon, thus removing all of his units constantly

Also you may want to add hyper triggers. If this doesn't solve your problem then just PM me and I'll look at your map.
Report, edit, etc...Posted by -bilal92- on 2006-07-01 at 21:34:03
hey try using a trigger like this dont use swithces in the game ur making so go like this...cause if u use switches, a switch is when something is set, if u use this it means that its always creating a unit for the current player, when there in play, the trigger will stop when the person leaves it wont keep adding like hell, good luck


Trigger
Description:
Create Units
Players:
¤ Force ------
Conditions:
¤ Always
Actions:
¤ Create Units: -----------
¤ Wait: --------- milleseconds
¤ Preserve trigger
Next Page (1)