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.
[11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
Please log in to shout.


Members Online: Vrael, C(a)HeK