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

Few Questions regarding Quitters, Observers, and AI

Status
Not open for further replies.
Level 6
Joined
Oct 25, 2010
Messages
203
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 :)
 
Level 13
Joined
Feb 5, 2018
Messages
567
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?

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
 
Status
Not open for further replies.
Top