• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Solved] Dual Full Player Slot Control

A few things. On the newest Warcraft 3 Editor is there a way to disable Hardcoded Combat AI (Engine-Level), not AI Script level logic.

Example, I (User) control Player 13 and want to set Player 10 (Computer) to also be controllable by me.

Already imported an "empty AI Script" that does nothing to Player 10


  • AI - Ignore the guard position of all Player 10 (Light Blue) units
Also, with this trugger, removed all guard abilites like units returning to spawn after you attack move far enough.

Only thing remaining is that those units still cast autocast abilities despite me turning them off and actives (like frost nova) if there are enough enemy units close to each other.

Questions
Do I need a periodic trigger that runs every 0,5s and disables abilities in a sense to "take control" of Hardcoded Combat AI, if so, how would that work/look like?
Is there a more elegant way to do this?
 
If the slot is empty from the lobby for Player 10 then no AI commands will be issued. Then just use the trigger to grant Player 13 full control over Player 10. Correct me if I'm wrong. This was only off the top of my head.

I don't think the periodic trigger nor the AI trigger action you linked would accomplish what you want either way.
 
I found that this specific problem occurs only if the faction you play as comes after the faction you want to control (in my case you are player 13 and controllable player is player 10) Normally you would put both as "user" under player properties and it would work just fine by defaulting you "user" to player 10 with no hardcoded AI combat casting abilites for either player slot.

If you leave slot as empty and take control via triggers it works fine also, unless you plan on having that faction revert to AI at a later stage since AI scripts wont work if player slot is labeled "none" or "neutral".

Best to just have user as player 1 whenever possible to avoid this.
 
Back
Top