USE_INVALID_STATE

USE_INVALID_STATE = -8
Value returned by the useWeapon and useWeaponOnCell functions if the entity is amputated (STATE_AMPUTATED), by summon if it is sterile (STATE_STERILE), and by useChip and useChipOnCell for a teleportation or a swap if the caster or the target is dense (STATE_DENSE): a state forbids the action.