• 🏆 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!

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 12
Joined
Feb 5, 2018
Messages
521
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