• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[General] Player number event problem

Status
Not open for further replies.

Wrda

Spell Reviewer
Level 26
Joined
Nov 18, 2012
Messages
1,892
Player leaves game? Maybe that's what you're asking.
There's no such event that detects how many players are there. You have to trigger it yourself. Picking all players in the force and then with a variable add +1 does it well.
 

Wrda

Spell Reviewer
Level 26
Joined
Nov 18, 2012
Messages
1,892
  • Actions
    • Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Actions)
      • Loop - Actions
        • Set Amount = (Amount + 1)
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • Amount Equal to 4
      • Then - Actions
        • -------- something --------
      • Else - Actions
Doesn't need to be red.
 
Status
Not open for further replies.
Top