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

[AI] Enable campaign AI for myself

Status
Not open for further replies.
Level 28
Joined
Feb 2, 2006
Messages
1,589
Hi,

is it possible the enable a campaign AI script for myself? I tried to start a campaign AI script it with a trigger for my player but nothing happened. The workers did not do anything.
There is the native:
JASS:
native SetPlayerController      takes player whichPlayer, mapcontrol controlType returns nothing
but I suspect it will crash the game when I try to change myself to a computer player?
I don't want to have a second player with shared control/resources etc.
I want to run the AI for my player and exclude certain units from it.
 
Status
Not open for further replies.
Top