Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:AddActiveTactic

From RoR Wiki
Revision as of 19:40, 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 add one tactic to the player's active tactics.

AddActiveTactic(tacticId)

Arguments

tacticId
number – Ability ID of the tactic.

Returns

Nothing.

Details

  • Sends an "add tactic" request with this one ID to the server. The ID is cut to a 16-bit value.
  • The client does not check the ID or whether a free tactic slot exists.
  • Exactly one argument must be passed.
  • The stock UI never calls this function. It sets the whole list at once with ActivateTactics.

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:

AddActiveTactic( tacticId )

See also