• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Check if triggered Player is in Playergroup

Status
Not open for further replies.
Level 1
Joined
Aug 6, 2021
Messages
3
Hallo,

at the beginning of the map i will creat a Playergroup called "Admins"

  • Admin Gruppe erstellen Hive
    • Ereignisse
      • Map initialization
    • Bedingungen
    • Aktionen
      • For each (Integer A) from 1 to 18, do (Actions)
        • Schleifen - Aktionen
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • 'IF'-Bedingungen
              • Or - Any (Conditions) are true
                • Bedingungen
                  • (Name of (Player((Integer A)))) Gleich WorldEdit
                  • (Name of (Player((Integer A)))) Gleich Mr. X
            • 'THEN'-Aktionen
              • Spielergruppe - Add (Player((Integer A))) to Admins
            • 'ELSE'-Aktionen
My goal is to check if the Player who wrote an command is in the Admin Group.
But i cant find a command to check if a Player is in a Group.
If i choose "Player Comparison" there is no option to check pick a specific Player (for an while if loop) or check if Player is in Group.

Thanks
JP
 
Status
Not open for further replies.
Top