Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:ClearSelectedRewards

From RoR Wiki
Revision as of 19:41, 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 · Interact functions
Version: WAR 1.4.8

Clears the selection of choice rewards for the current quest.

ClearSelectedRewards()

Arguments

None.

Returns

Nothing.

Details

  • Empties the client's set of selected choice rewards (see AddSelectedReward).
  • Nothing is sent to the server by this call.
  • Arguments are not checked; anything passed is ignored.

Errors

None.

Example

From default/ea_interactionwindow/source/interactionquestwindow.lua:

ClearSelectedRewards()
AddSelectedReward( btn )

See also