So first I'm doing this
So I've been trying to create a custom map where an AI team is to produce teams from their production buildings, exactly how it's done in the campaign.
I'll explain what I've been doing. This is with RotWK 2.02
First I create 2 scripts in a folder, both marked as subroutine with deactivate on success unchecked. The first script is IF: True, THEN: Null operation. The second IF: True, THEN: Move to waypoint
Under Teams I add a test team to try out the script. Under production condition I attach the first script, for 'on create' I attach the second script. Priority is 1000, build for is 300. I add 2 units on the team as testers, Min 1 Max 1 of each Easterling Horde and Orc Warrior Horde.
I save the game and on the map I place an orc pit and haradrim palace with the team that the scripts are attached to.
Nothing happens in game.
I've tried this process on a number of different teams. I've tried using PlyrCreeps, PlyrTeam_1, PlyrTeam_2, PlyrSkirmishMordor, PlyrMordor and some others. No matter what I do it doesn't work. I've also tried not adding Skirmish Players but that doesn't help, the AI just does even more nothing
Separate but related issue, whenever I try and add a player that isn't PlyrCreeps, none of their units are even selectable or interactable. They're just neutral no matter if I set diplomacy in playerlist or force allegiance with scripts, they're just dead. This is ok as I can use player scripts for most things but ideally I want to be able to have an AI that constantly produces untis from PBs then give them custom commands.
Any and all help appreciated! If I need to clarify anything any further I'll be happy to