Auto Action
- When it is decided that a combatant has the initiative and is
able to perform some sort of action such as 'MOVE', 'AIM', etc. we
ask the question "Is the combatant's action to be determined
automatically by the Engine?" For monsters this is always true.
For Player Characters it is true after the player has previously
selected "AUTO". But you might want to create a spell that
causes the character to temporarily or permanently be under control
of the Engine. For example, a spell might cause a character to flee
and the player should no longer be able to control that character
while it is under the influence of the spell.
-
A script named "AutoAction" should return a value starting
with 'F' to force the character into "Flee" mode. You
should probably append an integer saying which combatant to flee.
For example, "F5" would say that the combatant should flee
from combatant number 5. If no integer is appended then the fleeing
combatant will flee from his last attacker and, if none, then will
simply guard because he knows not which way to go! If no "F"
is found in the script's results, then fleeing that was previously
caused by "AutoAction" will be terminated.
Parameters
- none
Context
- Combatant