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

[AI] Enable campaign AI for myself

Status
Not open for further replies.
Level 26
Joined
Feb 2, 2006
Messages
1,690
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