• 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.

Set ally ?

Status
Not open for further replies.
Level 5
Joined
May 8, 2020
Messages
87
how do I enter the command -ally 7 ( I will become an ally of player number 7 )
When I don't want it anymore, I can enter another similar command to return to the original position
 
Level 30
Joined
Aug 29, 2012
Messages
1,385
  • Ally
    • Events
      • Player - Player 1 (Red) types a chat message containing -ally 7 as An exact match
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 1 (Red) is an ally of Player 7 (Green).) Equal to False /// That's a boolean condition
        • Then - Actions
          • Player - Make Player 1 (Red) treat Player 7 (Green) as an Ally with shared vision
          • Player - Make Player 7 (Green) treat Player 1 (Red) as an Ally with shared vision
        • Else - Actions
          • Player - Make Player 1 (Red) treat Player 7 (Green) as an Enemy
          • Player - Make Player 7 (Green) treat Player 1 (Red) as an Enemy
That's one easy way to do it
 
Status
Not open for further replies.
Top