API:RemoveActiveTactic
From RoR Wiki
UI Lua API · Tactics functions
Version: WAR 1.4.8
Asks the server to remove one tactic from the player's active tactics.
RemoveActiveTactic(tacticId)
Arguments
- tacticId
number– Ability ID of the tactic to remove.
Returns
Nothing.
Details
- Sends a "remove tactic" request with this one ID to the server. The ID is cut to a 16-bit value.
- The argument is a tactic ID, not a slot number: ClearActiveTactics sends the same kind of request filled with the IDs of all active tactics.
- Exactly one argument must be passed.
- The stock UI never calls this function.
Errors
None besides the generic Invalid Parameters message when the argument is missing or not a number.
Example
A minimal call built from the signature:
RemoveActiveTactic( tacticId )
