1. Find your way through the deepest dungeon in the 18th Mini Mapping Contest Poll.
    Dismiss Notice
  2. A brave new world lies beyond the seven seas. Join the 34th Modeling Contest today!
    Dismiss Notice
  3. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
Hive 3 Remoosed BETA - NOW LIVE. Go check it out at BETA Hive Workshop! Post your feedback in this new forum BETA Feedback.
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Few Questions regarding Quitters, Observers, and AI

Discussion in 'World Editor Help Zone' started by severed, Oct 30, 2020.

  1. severed

    severed

    Joined:
    Oct 25, 2010
    Messages:
    203
    Resources:
    0
    Resources:
    0
    few different questions:

    #1

    When a player loses all their buildings (in standard melee settings) they are defeated and kicked/removed from the game. Is it possible to give players the option of staying in the game as an observer (after being defeated)? meaning they would be able to see all the other players but only chat with other obs?

    #2

    If a player quits early (or disconnects) and the other players wish to keep playing, is there anyway to start the Computer AI for a player after they leave (maybe with a -command players can turn on/off)? or does AI have to be run during map initialization?

    #3

    is it possible to create 2 different AI styles? like have one computer player that builds standard melee style, and another computer using an alternate playstyle? or is there only 1 set of AI allowed per map?

    thanks :)
     
  2. DoomBlade

    DoomBlade

    Joined:
    Feb 5, 2018
    Messages:
    380
    Resources:
    0
    Resources:
    0
    Yes. You can have multiple AI's. Just create ai scripts or use JASS/vJASS to run the AI. Let's say you have 4 different styles, then just roll between 1-4.

    If 1 = then run aiscriptA
    If 2 = then run aiscriptB
    etc