RaidWatch 2

API / Callbacks / Plugins

  • 7 pages found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
Bars mangeg mangeg Aug 10, 2010
Parameters in red are optional. BarFinished(event, id, text, icon) Triggered by Bars plugin when a bar finishes Parameters id (string) Identification of the bar. text (string) The text originally set on the bear. icon (string) The icon that was last set on the bar. BarPause(event, id, pause) Pause a running bar Parameters id (string) The id of the bar that should be paused pause (boolean) true means the bar should be paused, false or nil means it should resume if it was paused before. Usage...
Direction mangeg mangeg Aug 10, 2010
Parameters in red are optional. DirectionHide(event, id) Hides one specific arrow Parameters id (string) The ID of the arrow that should be hidden. DirectionHideAll(event) Hides all current direction arrows. Parameters DirectionReached(event, id) Triggered when the target is reached, or when out of danager range if away was set Parameters id (string) The identification of the direction that was reached. DirectionToNameOrUnit(event, id, uID, tName, away, extra, icon) Shows a direction arrow...
Flash mangeg mangeg Aug 10, 2010
Parameters in red are optional. FlashShow(event, color, duration, pulses, texture) Shows a Screen flash Parameters color (table) The color of the flash (number indexed color table) duration (number) The duration of the flash pulses (number) The number of times the flash should pulse. The speed of the pulses will be duration / pulses. texture (string) The texture to be used for the flash, the texture will be blended with ADD Usage RW.Callbacks:Fire(FlashShow, {1, 0, 0, 1})
Message mangeg mangeg Aug 10, 2010
Parameters in red are optional. MessageShow(event, text, r, g, b, a, icon, sound, module) Show a new message as popup Parameters text (string) The text to be shown r (number) Red component to the color g (number) Green component to the color b (number) Blue component to the color a (number) Alpha component to the color icon (string) Texture to be used as the icon for the message. sound (string) Sound clip to play when showing the message (LSM name). module (plugin|bossmod) If output to...
Multi-Purpose Bars mangeg mangeg Aug 10, 2010
Parameters in red are optional. MPBExternal(event, id, func, anchorID, markers, icon) Show a frame that is updated from an external function. Parameters id (string) A unique ID for the bar to interact with it later. func (function) The function that returns the values, the function must return: current, max, name. Where name is the name showing up on the frame. anchorID (string) The anchor that the frame should show up on, The default one will be selected if none passed or if not found....
Range Check mangeg mangeg Aug 10, 2010
Parameters in red are optional. RangeCheckFilterAddIcon(event, clearOld, ...) Add icons to the raid mark filter. Parameters clearOld (boolean) If true the the old raid mark filter will be cleared. ... (strings|numbers) Icons to be added to the filter, if passed strings they should be the upercase names (STAR, MOON...), else the number representing the mark. RangeCheckFilterAddName(event, clearOld, ...) Add names tot he name filter Parameters clearOld (boolean) If true then the old name filter...
Warning mangeg mangeg Aug 10, 2010
Parameters in red are optional. WarningShow(event, text, icon, color, sound, flash) Shows a warning Parameters text (string) The text the warning should display. icon (string) Texture path to the icon to be used. color (table) Color to set on the text, if no color is supplied the default color set in the Warnings plugin settings will be used. (number indexed color table). sound (string) Sound file to play along with showing the warning (LSM name). flash (boolean) If true a screen flash will...
  • 7 pages found