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

Back* from the grave

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

Back* from the grave

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.
[05:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[05:24 pm]
lil-Inferno -- poopoo
[05:14 pm]
UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
[03:36 pm]
NudeRaider -- :lol:
[03:02 am]
Ultraviolet -- I'm gonna send inf to have sex with their moms
[03:02 am]
Ultraviolet -- fuck those motherfuckers
[11:02 pm]
NudeRaider -- PSA: ASUS apparently decided their RMA department needs to "become profitable" and for a while now outright tries to scam customers. They were called out on it a year ago, promised to change, but didn't. https://www.youtube.com/watch?v=7pMrssIrKcY so my recommendation: Stop buying ASUS, and if you already have and need something RMA'd, make sure to not let them bully you into paying.
[2024-5-15. : 3:08 pm]
Oh_Man -- example of wat u mean?
[2024-5-15. : 5:59 am]
NudeRaider -- *is
[2024-5-15. : 5:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
Please log in to shout.


Members Online: 9madisone7223hb3, 9harpere9323rL0, 1milae8323eb6, Roy