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:59 am]
NudeRaider -- *is
[05:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
[10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[10:05 am]
Moose -- ya
[2024-5-14. : 5:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
Please log in to shout.


Members Online: kailynlrosario, Roy