GetAdjMaxMovement





This script is called when we need to determine how far a character can move in combat. For example, the Special Ability "Sleeping" might have a script called GetAdjMaxMovement which returns the number "0".

These scripts return a result in Min/Max Format.

Initially we set the minimum to 0 and the maximum to the character's maximum movement. Then the scripts are called. The resulting maximum is used as the character's movement ability.

Parameters

Parameter[5] is set to the movement as determined by the unscripted code. For PCs this includes such things as 'encumbrance'.

Context

Character - the character that is to move.

Combatant - the combatant that is to move.