Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:RemoveActiveTactic

From RoR Wiki
Revision as of 19:48, 16 October 2026 by Maintenance script (talk | contribs) (UI Lua API import (WAR 1.4.8))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 )

See also