I am pretty much a complete noob with regards to map making and this has probably been asked countless times and I am just too dumb to find the answer but how can you change the default behavior of AI controlled units to behave as if a human player would have just pressed hold position, especially for lurkers and siege tanks? I want to test out some micro scenarios but the lurkers keep unburrowing as soon as I approach them with medic/marines and sieged tanks unsiege, if nearby units are hit. How can I prevent that?
Ideally, there is a simple solution, since I only worked with classic triggers before.
None.
I'm not sure if there is an easy solution for lurkers (without EUD triggers which isn't basic to do). In terms of siege tanks, it does work in a similar style to lurkers. However, you could substitute the siege tank for a Hero version of said siege tank (Edmund Duke) and just set its stats to a siege tank. Please note: using these hero siege tanks means they will NOT use the player's supply, and will never unsiege (even if 1 zergling was melee range attacking it). This can make it useful if you want to have siege tank emplacements that won't unsiege no matter what. The AI however will obviously not replace these tanks and the portrait itself will still be "dukes" portrait. This also doesn't work if you are using the siege version for something else.
Alternatively, if you give lurkers (burrowed) // siege tanks (sieged) to the player and the burrow/siege mode is disabled, they will be unable to unburrow/unsiege too. Sadly, this doesn't seem to apply to AIs (they probably have some internal function/trigger that does it since they don't use hotkeys/command cards).
You could try having 2 AIs as well (with Zerg 1 AI controlling Lurker, and Zerg 2 controlling other units). However, this comes with a problem where the AI 1 lurkers will splash the AI 2 units (even when allies).
Post has been edited 2 time(s), last time on Mar 24 2022, 8:11 pm by TheHappy115.
None.
Probably a wicked set of idle_orders would help work around that, but I'm not sure.
Trial and error... mostly error.
I'm not sure if there is an easy solution for lurkers (without EUD triggers which isn't basic to do). In terms of siege tanks, it does work in a similar style to lurkers. However, you could substitute the siege tank for a Hero version of said siege tank (Edmund Duke) and just set its stats to a siege tank. Please note: using these hero siege tanks means they will NOT use the player's supply, and will never unsiege (even if 1 zergling was melee range attacking it). This can make it useful if you want to have siege tank emplacements that won't unsiege no matter what. The AI however will obviously not replace these tanks and the portrait itself will still be "dukes" portrait. This also doesn't work if you are using the siege version for something else.
Alternatively, if you give lurkers (burrowed) // siege tanks (sieged) to the player and the burrow/siege mode is disabled, they will be unable to unburrow/unsiege too. Sadly, this doesn't seem to apply to AIs (they probably have some internal function/trigger that does it since they don't use hotkeys/command cards).
You could try having 2 AIs as well (with Zerg 1 AI controlling Lurker, and Zerg 2 controlling other units). However, this comes with a problem where the AI 1 lurkers will splash the AI 2 units (even when allies).
Thanks for the suggestions. Using the hero siege tank instead of the normal one works well, but I had no success with disabling siege mode or burrow as you expected.
Regarding EUD triggers, is there an example map where something like that was done for the lurker and I can maybe just copy/paste or replicate the respective section?
None.