• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] How to check if a player is playing

Status
Not open for further replies.
Level 11
Joined
Aug 11, 2009
Messages
605
I was just wondering how to make a check if a player slot is taken by a player?

I've tried checking with:
Player (Number) Controller equal to User

But if a slot is on Open or Closed it still acts as if that Player slot is a User.

What I am trying to do is if a player slot is taken by a player a unit is created for that player, else it shouldnt be created.

Thanks for any help on this.
 
Level 17
Joined
Nov 13, 2006
Messages
1,814
just this 2 condition

  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Player 1 (Red) slot status) Equal to Is playing
      • (Player 1 (Red) controller) Equal to User
    • Then - Actions
    • Else - Actions
for checking if he is afk or no, for that need system but this what i wrote tell if client running to that player or quited
 
Status
Not open for further replies.
Top