Skip to content

Posts from How can I make it so that in the editor, an AI hero doesn't move but instead skips its turn?

No ratings yet — be the first to rate!
4 years ago
Auto-translated
Hello everyone, can you tell me how to make a computer-controlled hero stay in place and skip its turn?
User Avatar
4 years ago
Auto-translated
There is a specific script. It was called something like AlEnableHero. You write the hero's name and "false," and now the hero will not move, only stand. Important! This does not work on heroes controlled by a real player.

Added 13 minutes later
Grigory Kovalev
There is a specific script. It was called something like AlEnableHero. You write the hero's name and "false," and now the hero will not move, only stand. Important! This does not work on heroes controlled by a real player.
Correction: EnableHeroAL, but I'm not sure.
User Avatar
4 years ago
Auto-translated

bonycaspita
Hello everyone, can you tell me how to make a computer-controlled hero stay put and skip its turn?
EnableHeroAI("script name of the hero", false);

Statistics

Welcome our newest member: recijeb