Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:SetPlayerPortraitBackground

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

Does nothing in this client. It only checks its arguments.

SetPlayerPortraitBackground(name1, x1, y1, name2, x2, y2)

Arguments

name1
string
x1, y1
number
name2
string
x2, y2
number

Returns

Nothing.

Details

  • The client checks that the six arguments have the types above and then returns without doing anything. No portrait or window is changed.
  • Compare SetTargetPortraitBackground, which does set a background for the target portrait.
  • The stock UI never calls this function.

Errors

None besides the Invalid Parameters argument check.

Example

None: the function has no effect.

See also