Unit Spawning
Feb 8 2009, 9:57 pm
By: InvisibleDerek  

Feb 8 2009, 9:57 pm InvisibleDerek Post #1



Ok i have a trigger that goes like
"Player 7 has suffered "0" deaths of units 'x'"

"Create 1 unit at location 'x' for player 7"
"Kill 1 unit at locations 'x' for player 7
"wait 300 milliseconds"
"Preserve Trigger"

Ok but when the unit spawns it spawns 3 of the unit instead of only 1, so how can i make it so its only 1 unit



None.

Feb 8 2009, 9:59 pm xYoshix Post #2



Is the trigger for one player or a force?
If it is for a force, it spawns however people there are in the force



None.

Feb 8 2009, 10:00 pm Kaias Post #3



Quote from InvisibleDerek
Ok i have a trigger that goes like
"Player 7 has suffered "0" deaths of units 'x'"

"Create 1 unit at location 'x' for player 7"
"Kill 1 unit at locations 'x' for player 7
"wait 300 milliseconds"
"Preserve Trigger"

Ok but when the unit spawns it spawns 3 of the unit instead of only 1, so how can i make it so its only 1 unit
The 'Kill' action does not add a death to the death count. You can instead just use the Set Deaths action. Also, make sure the trigger isn't activating for multiple players if you don't want it to.



None.

Feb 8 2009, 10:05 pm InvisibleDerek Post #4



Well its only for 1 player and i dont know how to set death counts



None.

Feb 8 2009, 10:06 pm xYoshix Post #5



Quote from InvisibleDerek
Well its only for 1 player and i dont know how to set death counts
Do the action 'set deaths'



None.

Feb 8 2009, 10:12 pm InvisibleDerek Post #6



well im trying to make a unit spawn and then have it die instantly. I need a trigger to make it so only 1 unit spawns instead of 3 at a time... im not sure how exactly to make a trigger using the set death's.



None.

Feb 8 2009, 10:15 pm xYoshix Post #7



I dont see anything wrong with this trigger....are u sure its not directed to force 1 or something?



None.

Feb 8 2009, 10:18 pm poison_us Post #8

Master has given Dobby a doctorate! Dobby is free!

Can you attach the file so we can try and figure out what's wrong?




Feb 8 2009, 10:31 pm InvisibleDerek Post #9



ok heres the file, and no its only directed to player 7

Attachments:
Bound Defense.scm
Hits: 3 Size: 41.98kb



None.

Feb 8 2009, 10:35 pm xYoshix Post #10



Quote from InvisibleDerek
\ no its only directed to player 7

It is directed to all players. Change it to player 7



None.

Feb 9 2009, 4:41 am poison_us Post #11

Master has given Dobby a doctorate! Dobby is free!

Win?
Or is the trigger still fail?




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[2026-5-31. : 6:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
[2026-5-31. : 3:20 pm]
l)ark_ssj9kevin -- le reddit
[2026-5-31. : 2:55 pm]
Moose -- >reddit :rip2:
[2026-5-31. : 2:07 pm]
IskatuMesk -- reddit 💀
Please log in to shout.


Members Online: Symmetry, Moose