View Bug Report
Error on playing character/entering world.
Bug #: 50
File: RiftHud
Date: 08-18-13 02:57 AM
By: JontomXire
Status: Unconfirmed
Error: Incorrect function usage.
Parameters: (userdata: ), "TOPLEFT", nil, "TOPLEFT", 710, 440
Parameter types: userdata, string, nil, string, number, number
Function documentation:
Pins a point on this frame to a location on another frame. This is a rather complex function and you should look at examples to see how to use it.
This function can take many different forms. In general, it looks like this: SetPoint(point_on_this_frame, target_frame, point_on_target_frame [, x_offset, y_offset]).
The first part is the point on this frame that will be attached. Usually, these are string identifiers. "TOPLEFT", "TOPCENTER", "TOPRIGHT", "CENTERLEFT", "CENTER", "CENTERRIGHT", "BOTTOMLEFT", "BOTTOMCENTER", "BOTTOMRIGHT". You may also use a string identifier that refers to a single axis - "TOP", "BOTTOM", "LEFT", "RIGHT", "CENTERX", "CENTERY". If you want more direct numeric control you can use number pairs. 0,0 is equivalent to "TOPLEFT", 1,1 is equivalent to "BOTTOMRIGHT", 0.5,nil is equivalent to "CENTERX".
The second part is the frame to attach to, as well as the point on that frame to attach to. The frame is simply passing in the frame table. The point is the same identifier or number pair as the first parameter.
Optionally, you may include an X or Y offset to the point.
This connection is permanent, and if the target frame moves, this frame will move along with it.
Caveat: If the target is a frame set to the "restricted" SecureMode, and the client is currently in "secure" mode, then unexpected behavior may occur.
Not permitted on a frame with "restricted" SecureMode while the addon environment is secured.
Frame:SetPoint(...) -- ...
Parameters:
...: This function's parameters are complicated. Read the above summary for details.
In RiftHud / rhudloadSettings, event Event.Addon.Startup.End
stack traceback:
[C]: ?
[C]: in function 'SetPoint'
RiftHud/main.lua:470: in function <RiftHud/main.lua:462>

 
Menu
» Home



Content

Stats
Files: 6
Downloads: 24,793
Favorites: 114

New & Updated


Riftui