Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:ClearSelectedRewards

From RoR Wiki

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