Staredit Network > Forums > SC2 Assistance > Topic: [SOLVED]Create 1 unit for each player
[SOLVED]Create 1 unit for each player
This topic is locked. You can no longer write replies here.
May 17 2010, 9:29 pm
By: LooKe  

May 17 2010, 9:29 pm LooKe Post #1



It looks like it should just create 1 unit for each player in game at 5.0 game seconds, I have no idea why it doesn't do that.

Code
   Events
       Timer - Elapsed time is 5.0 Game Time seconds
   Local Variables
   Conditions
   Actions
       General - If (Conditions) then do (Actions) else do (Actions)
           If
               (Status of player (Picked player)) == Playing
           Then
               Unit - Create 1 Ghost for player (Picked player) at (Center of C-3) using default facing (No Options)
           Else


Post has been edited 1 time(s), last time on May 17 2010, 10:05 pm by JB4times4.



None.

May 17 2010, 9:49 pm Morphling Post #2



You have to specify the picked player. :bleh:
Instead of If Then Else action use this:
Code
       Player Group - Pick each player in (Active Players) and do (Actions)




None.

May 17 2010, 9:50 pm Swampfox Post #3



"Picked Player" refers to the picked player in a "Pick Player" function. You'll have to execute that function first, and then refer to the picked player.... I'm on my laptop currently, so I couldn't tell you exactly what the function is called.

EDIT: What he said ^



None.

May 17 2010, 10:04 pm LooKe Post #4



Haha, dur-da-dur...ok thanks.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[10:05 am]
Moose -- ya
[05: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.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
Please log in to shout.


Members Online: l)ark_ssj9kevin, Roy