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.
[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: 2oliviae4623to7, NudeRaider, lil-Inferno