| tags |
|
|---|
This is the type used for mercenaries.
This type inherits members from spawn.
: AA Points spent on mercenary abilities
: Index
: Name of the mercenary
: Current stance of the mercenary
: Current state of the mercenary:
- "DEAD"
- "SUSPENDED"
- "ACTIVE"
- "UNKNOWN"
: Current state ID of the mercenary as a number.
string To String
: Same as Name
!!! Example
Check on if you have an active mercenary, mercenary is a cleric, and if it's stance is NOT reactive.... then change it TO reactive.
```text
/if (${Mercenary.State.Equal[ACTIVE]} && ${Mercenary.Class.Name.Equal[Cleric]} && ${Mercenary.Stance.NotEqual[REACTIVE]}) {
/stance reactive
}
```