Module twdll.battle
Battle lifecycle hooks for Total War: Attila.
Functions
| GetBattleInfo () | Returns live information about the current battle. |
Functions
- GetBattleInfo ()
-
Returns live information about the current battle. Returns nil while no battle
is active (e.g. in the campaign). Inside a battle, returns a table with the
battle object address, the reinforcements manager address, the reinforcement
cap and the number of reinforcement armies currently waiting.
Returns:
-
table
battle info, or nil when no battle is active