• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

How do I disable AI completely on a computer player?

Status
Not open for further replies.
Level 3
Joined
Apr 16, 2016
Messages
28
Ok, so I gave a hero to a computer player. Even though I didn't specify any AI, it starts using certain abilities on its own like Holy Light, Storm Bolt and stuff.

All Melee-related trigger is deleted as well.

How do I permanently disable AI on computer?
 
Level 20
Joined
Aug 13, 2013
Messages
1,696
You can just set it to User or None in Player Properties.
If you set it to Computer, there's an internal AI Script that will run that controls all of it's units without exceptions which prevents external scripts to control them.
 
Level 3
Joined
Apr 16, 2016
Messages
28
You can just set it to User or None in Player Properties.
If you set it to Computer, there's an internal AI Script that will run that controls all of it's units without exceptions which prevents external scripts to control them.

So there's no way to disable the AI if the player slot is set to computer?

For my purposes, setting the player slot to User or none, while not impossible, is infeasible for my purposes (would require massive change in existing code)
 
Status
Not open for further replies.
Top