<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Ronit.GAMES - LUA Scripts / Skrypty LUA]]></title>
		<link>https://forum.ronit.games/</link>
		<description><![CDATA[Ronit.GAMES - https://forum.ronit.games]]></description>
		<pubDate>Fri, 17 Apr 2026 12:29:06 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[RonClient LUA consts / Stałe LUA RonClient'a]]></title>
			<link>https://forum.ronit.games/showthread.php?tid=772</link>
			<pubDate>Tue, 09 Oct 2012 11:18:54 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ronit.games/member.php?action=profile&uid=9">Nakeib</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ronit.games/showthread.php?tid=772</guid>
			<description><![CDATA[<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">LUA Flags:</span></span><br />
LUAFLAG_QUIT = 1<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Window types:</span></span><br />
WND_GAME = 6<br />
WND_CONSOLE = 7<br />
WND_INVENTORY = 8<br />
WND_CONTAINER = 9<br />
WND_CHANNELSLIST = 11<br />
WND_MINIMAP = 12<br />
WND_STATISTICS = 13<br />
WND_BATTLE = 14<br />
WND_VIPLIST = 15<br />
WND_ABOUT = 33<br />
WND_STATUS = 124<br />
WND_HOTKEYS = 125<br />
WND_CUSTOM = 65534<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Button types:</span></span><br />
BUTTON_NONE = 0<br />
BUTTON_NORMAL = 1<br />
BUTTON_SWITCH = 2<br />
BUTTON_CONTINUE = 3<br />
BUTTON_TAB = 4<br />
BUTTON_TAB_SIDE = 5<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">GUI actions:</span></span><br />
GUIACTION_NONE = 0<br />
GUIACTION_MOVE_TOP = 1<br />
GUIACTION_MOVE_BOTTOM = 2<br />
GUIACTION_MOVE_LEFT = 3<br />
GUIACTION_MOVE_RIGHT = 4<br />
GUIACTION_RESIZE_TOP = 5<br />
GUIACTION_RESIZE_BOTTOM = 6<br />
GUIACTION_RESIZE_LEFT = 7<br />
GUIACTION_RESIZE_RIGHT = 8<br />
GUIACTION_MINIMIZE = 9<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Containers:</span></span><br />
CONTAINER_FREE = 252<br />
CONTAINER_EQUIPMENT = 253<br />
CONTAINER_TRADE = 254<br />
CONTAINER_INVENTORY = 255<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Sounds:</span></span><br />
SAMPLE_BACKGROUND = 0<br />
SAMPLE_EFFECT = 1<br />
SAMPLE_DISTANCE = 2<br />
SAMPLE_SYSTEM = 3<br />
SAMPLE_CUSTOM = 4<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Mouse buttons:</span></span><br />
MOUSE_LEFT = 0x001<br />
MOUSE_MIDDLE = 0x002<br />
MOUSE_RIGHT = 0x004<br />
MOUSE_LEFT_DBL = 0x008<br />
MOUSE_MIDDLE_DBL = 0x010<br />
MOUSE_RIGHT_DBL = 0x020<br />
MOUSE_OLD_LEFT = 0x040<br />
MOUSE_OLD_MIDDLE = 0x080<br />
MOUSE_OLD_RIGHT = 0x100<br />
MOUSE_OLD_LEFT_DBL = 0x200<br />
MOUSE_OLD_MIDDLE_DBL = 0x400<br />
MOUSE_OLD_RIGHT_DBL = 0x800]]></description>
			<content:encoded><![CDATA[<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">LUA Flags:</span></span><br />
LUAFLAG_QUIT = 1<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Window types:</span></span><br />
WND_GAME = 6<br />
WND_CONSOLE = 7<br />
WND_INVENTORY = 8<br />
WND_CONTAINER = 9<br />
WND_CHANNELSLIST = 11<br />
WND_MINIMAP = 12<br />
WND_STATISTICS = 13<br />
WND_BATTLE = 14<br />
WND_VIPLIST = 15<br />
WND_ABOUT = 33<br />
WND_STATUS = 124<br />
WND_HOTKEYS = 125<br />
WND_CUSTOM = 65534<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Button types:</span></span><br />
BUTTON_NONE = 0<br />
BUTTON_NORMAL = 1<br />
BUTTON_SWITCH = 2<br />
BUTTON_CONTINUE = 3<br />
BUTTON_TAB = 4<br />
BUTTON_TAB_SIDE = 5<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">GUI actions:</span></span><br />
GUIACTION_NONE = 0<br />
GUIACTION_MOVE_TOP = 1<br />
GUIACTION_MOVE_BOTTOM = 2<br />
GUIACTION_MOVE_LEFT = 3<br />
GUIACTION_MOVE_RIGHT = 4<br />
GUIACTION_RESIZE_TOP = 5<br />
GUIACTION_RESIZE_BOTTOM = 6<br />
GUIACTION_RESIZE_LEFT = 7<br />
GUIACTION_RESIZE_RIGHT = 8<br />
GUIACTION_MINIMIZE = 9<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Containers:</span></span><br />
CONTAINER_FREE = 252<br />
CONTAINER_EQUIPMENT = 253<br />
CONTAINER_TRADE = 254<br />
CONTAINER_INVENTORY = 255<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Sounds:</span></span><br />
SAMPLE_BACKGROUND = 0<br />
SAMPLE_EFFECT = 1<br />
SAMPLE_DISTANCE = 2<br />
SAMPLE_SYSTEM = 3<br />
SAMPLE_CUSTOM = 4<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Mouse buttons:</span></span><br />
MOUSE_LEFT = 0x001<br />
MOUSE_MIDDLE = 0x002<br />
MOUSE_RIGHT = 0x004<br />
MOUSE_LEFT_DBL = 0x008<br />
MOUSE_MIDDLE_DBL = 0x010<br />
MOUSE_RIGHT_DBL = 0x020<br />
MOUSE_OLD_LEFT = 0x040<br />
MOUSE_OLD_MIDDLE = 0x080<br />
MOUSE_OLD_RIGHT = 0x100<br />
MOUSE_OLD_LEFT_DBL = 0x200<br />
MOUSE_OLD_MIDDLE_DBL = 0x400<br />
MOUSE_OLD_RIGHT_DBL = 0x800]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[RonClient LUA functions / Funkcje LUA RonClient'a]]></title>
			<link>https://forum.ronit.games/showthread.php?tid=771</link>
			<pubDate>Tue, 09 Oct 2012 11:08:12 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.ronit.games/member.php?action=profile&uid=9">Nakeib</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.ronit.games/showthread.php?tid=771</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">functionName(parameters) : return</span><br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Main functions:</span></span><br />
sleep(miliseconds)<br />
run(scriptName, functionName, arg1, arg2, ..., threaded, localDir)<br />
lock(lockName)<br />
unlock(lockName)<br />
bitTest(value, bitNumber) : state<br />
setFlag(flag)<br />
clearFlag(flag)<br />
hasFlag(flag) : state<br />
new(type) : valuePtr<br />
delete(valuePtr)<br />
setDynamic(valuePtr, valueStr)<br />
getDynamic(valuePtr, precision = 6) : valueStr<br />
setGlobal(key, value)<br />
getGlobal(key) : valueStr<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Time functions:</span></span><br />
getTime() : timestamp<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">INILoader functions:</span></span><br />
newINILoader() : iniLoaderPtr<br />
deleteINILoader(iniLoaderPtr)<br />
iniOpenFile(iniLoaderPtr, path)<br />
iniOpenString(iniLoaderPtr, str)<br />
iniSaveFile(iniLoaderPtr, path)<br />
iniGetValue(iniLoaderPtr, varname, index = 0) : valueStr<br />
iniGetValue(iniLoaderPtr, varnum, index = 0) : valueStr<br />
iniSetValue(iniLoaderPtr, varname, valueStr, index = 0)<br />
iniGetSize(iniLoaderPtr) : size<br />
iniGetVarName(iniLoaderPtr, varnum) : varname<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Mouse functions:</span></span><br />
setMouseHolder(mousePtr, posX, posY, type, holderPtr = 0, variablePtr = 0, windowPtr = 0)<br />
getMouseHolder(mousePtr) : holder{posX, posY, type, holderPtr, variablePtr, windowPtr}<br />
getMouseButtons(mousePtr) : buttons<br />
getMousePosition(mousePtr) : position{x, y}<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Keyboard functions:</span></span><br />
getKeyState(keyboardPtr, key) : state<br />
getCapsLockState(keyboardPtr) : state<br />
getNumLockState(keyboardPtr) : state<br />
getScrollLockState(keyboardPtr) : state<br />
getKeyChar(keyboardPtr) : keyChar<br />
getOldKeyChar(keyboardPtr) : keyChar<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Window functions:</span></span><br />
getWindowTemplate(templateName) : templatePtr<br />
getWindowTemplateFont(templatePtr) : fontPtr<br />
createWindow(x, y, templatePtr) : windowPtr<br />
createWindow(x, y, templateName) : windowPtr<br />
findWindow(wndType) : windowPtr<br />
openWindow(wndType) : windowPtr<br />
getWindowByTitle(title, wndType = WND_ALL) : windowPtr<br />
addWindow(windowPtr)<br />
killWindow(windowPtr)<br />
closeWindow(windowPtr)<br />
moveWindowOnTop(windowPtr)<br />
isWindowOnList(windowPtr)<br />
setWindowParam(windowPtr, 'title', title)<br />
setWindowParam(windowPtr, 'position', x, y, ignoreConnections = 0)<br />
setWindowParam(windowPtr, 'size', width, height, ignoreConnections = 0)<br />
setWindowParam(windowPtr, 'type', type)<br />
setWindowParam(windowPtr, 'executeaction', scriptName, functionName, arg1, arg2, ..., localDir, sameScript)<br />
setWindowParam(windowPtr, 'activateaction', scriptName, functionName, arg1, arg2, ..., localDir, sameScript)<br />
setWindowParam(windowPtr, 'closeaction', scriptName, functionName, arg1, arg2, ..., localDir, sameScript)<br />
setWindowParam(windowPtr, 'minimizeaction', scriptName, functionName, arg1, arg2, ..., localDir, sameScript)<br />
setWindowParam(windowPtr, 'intsize', width, height, adjust = 0)<br />
setWindowParam(windowPtr, 'minsize', value)<br />
setWindowParam(windowPtr, 'maxsize', value)<br />
setWindowParam(windowPtr, 'closeability', state)<br />
setWindowParam(windowPtr, 'minimizeability', state)<br />
setWindowParam(windowPtr, 'hideability', state)<br />
setWindowParam(windowPtr, 'alwaysactive', state)<br />
setWindowParam(windowPtr, 'template', templatePtr)<br />
getWindowParam(windowPtr, 'title') : titleStr<br />
getWindowParam(windowPtr, 'position') : position{x, y}<br />
getWindowParam(windowPtr, 'size') : size{x, y}<br />
getWindowParam(windowPtr, 'template') : templatePtr<br />
getWindowParam(windowPtr, 'container') : containerPtr<br />
createWindowElement('container', align, x, y, width, hegiht, backgrounded, bordered, templatePtr) : elementPtr<br />
createWindowElement('text', align, x, y, width, templatePtr) : elementPtr<br />
createWindowElement('link', align, x, y, width, mousePtr, templatePtr) : elementPtr<br />
createWindowElement('image', align, x, y, width, height, imagePtr, templatePtr) : elementPtr<br />
createWindowElement('button', align, buttonType, x, y, width, height, templatePtr) : elementPtr<br />
createWindowElement('textarea', align, x, y, width, hegiht, editable, multilined, templatePtr) : elementPtr<br />
createWindowElement('memo', align, x, y, width, height, templatePtr) : elementPtr<br />
createWindowElement('tablememo', align, x, y, width, height, templatePtr) : elementPtr<br />
createWindowElement('list', align, x, y, width, height, templatePtr) : elementPtr<br />
createWindowElement('timer', align, x, y, width, height, templatePtr) : elementPtr<br />
createWindowElement('tab', align, x, y, width, height, backgrounded, bordered, templatePtr) : elementPtr<br />
createWindowElement('itemcontainer', align, x, y, width, height, gameContainerPtr, templatePtr) : elementPtr<br />
createWindowElement('checkbox', align, x, y, width, templatePtr) : elementPtr<br />
createWindowElement('scrollbar', align, x, y, width, templatePtr) : elementPtr<br />
createWindowElement('skillbar', align, x, y, width, height, valuePtr, templatePtr) : elementPtr<br />
createWindowElement('colormap', align, x, y, width, height, templatePtr) : elementPtr<br />
createWindowElement('cooldown', align, x, y, width, height, templatePtr) : elementPtr<br />
createWindowElement('select', align, x, y, width, height, mousePtr, templatePtr) : elementPtr<br />
getWindowElement(containerPtr, elementNumber = 0) : elementPtr<br />
addWindowElement(containerPtr, elementPtr)<br />
removeWindowElement(containerPtr, elementPtr)<br />
deleteWindowElement(elementPtr)<br />
clearWindowElements(containerPtr)<br />
setWindowElementParam(elementPtr, 'position', x, y)<br />
setWindowElementParam(elementPtr, 'size', width, height)<br />
setWindowElementParam(elementPtr, 'locks', lwidth, lheight)<br />
setWindowElementParam(elementPtr, 'enabled', state)<br />
setWindowElementParam(elementPtr, 'shine', shine)<br />
setWindowElementParam(elementPtr, 'comment', commentStr)<br />
setWindowElementParam(elementPtr, 'action', scriptName, functionName, arg1, arg2, ..., localDir, sameScript)<br />
setWindowElementParam(elementPtr, 'actiondbl', scriptName, functionName, arg1, arg2, ..., localDir, sameScript)<br />
setWindowElementParam(elementPtr, 'actionlook', scriptName, functionName, arg1, arg2, ..., localDir, sameScript)<br />
setWindowElementParam(elementPtr, 'actionuse', scriptName, functionName, arg1, arg2, ..., localDir, sameScript)<br />
setWindowElementParam(elementPtr, 'intsize', width, height, adjust = 0)<br />
setWindowElementParam(elementPtr, 'textalign', align)<br />
setWindowElementParam(elementPtr, 'text', textStr)<br />
setWindowElementParam(elementPtr, 'color', colorIndex) //Textarea element only<br />
setWindowElementParam(elementPtr, 'color', red, green, blue, alpha = 1.0)<br />
setWindowElementParam(elementPtr, 'colorin', red, green, blue, alpha = 1.0)<br />
setWindowElementParam(elementPtr, 'colorout', red, green, blue, alpha = 1.0)<br />
setWindowElementParam(elementPtr, 'background', state)<br />
setWindowElementParam(elementPtr, 'background', imagePtr) //Cooldown element only<br />
setWindowElementParam(elementPtr, 'border', state)<br />
setWindowElementParam(elementPtr, 'fontsize', size)<br />
setWindowElementParam(elementPtr, 'precision', precision)<br />
setWindowElementParam(elementPtr, 'scroll', state)<br />
setWindowElementParam(elementPtr, 'scrollalwaysvisible', horizontalState, verticalState)<br />
setWindowElementParam(elementPtr, 'image', imagePtr)<br />
setWindowElementParam(elementPtr, 'hotkey', hotkeyPtr)<br />
setWindowElementParam(elementPtr, 'slot', slot)<br />
setWindowElementParam(elementPtr, 'pressed', state)<br />
setWindowElementParam(elementPtr, 'inverse', state)<br />
setWindowElementParam(elementPtr, 'offset', offset)<br />
setWindowElementParam(elementPtr, 'maxlength', maxlength)<br />
setWindowElementParam(elementPtr, 'hidden', state)<br />
setWindowElementParam(elementPtr, 'active', state)<br />
setWindowElementParam(elementPtr, 'option', option, executeOnSet)<br />
setWindowElementParam(elementPtr, 'option', option)<br />
setWindowElementParam(elementPtr, 'rowheight', height)<br />
setWindowElementParam(elementPtr, 'columnwidth', columnNum, width, percent = 0)<br />
setWindowElementParam(elementPtr, 'columnname', columnNum, name)<br />
setWindowElementParam(elementPtr, 'timestop', timestamp)<br />
setWindowElementParam(elementPtr, 'timeinterval', miliseconds)<br />
setWindowElementParam(elementPtr, 'state', state)<br />
setWindowElementParam(elementPtr, 'valueptr', valuePtr)<br />
setWindowElementParam(elementPtr, 'minvalue', minvalue)<br />
setWindowElementParam(elementPtr, 'maxvalue', maxvalue)<br />
setWindowElementParam(elementPtr, 'tabsheight', height)<br />
setWindowElementParam(elementPtr, 'template', templatePtr)<br />
setWindowElementParam(elementPtr, 'spellid', spellID)<br />
setWindowElementParam(elementPtr, 'groupid', groupID)<br />
setWindowElementParam(elementPtr, 'cast', castTime, period)<br />
getWindowElementParam(elementPtr, 'position') : position{x, y}<br />
getWindowElementParam(elementPtr, 'position', 'abs') : position{x, y} //Absolute position on screen<br />
getWindowElementParam(elementPtr, 'size') : size{x, y}<br />
getWindowElementParam(elementPtr, 'shine') : shine<br />
getWindowElementParam(elementPtr, 'comment') : commentStr<br />
getWindowElementParam(elementPtr, 'intsize') : intsize{x, y}<br />
getWindowElementParam(elementPtr, 'scrolloffset') : scrolloffset{x, y}<br />
getWindowElementParam(elementPtr, 'scrolloffset') : scrolloffset<br />
getWindowElementParam(elementPtr, 'text') : textStr<br />
getWindowElementParam(elementPtr, 'pressed') : state<br />
getWindowElementParam(elementPtr, 'inverse') : state<br />
getWindowElementParam(elementPtr, 'option') : option<br />
getWindowElementParam(elementPtr, 'optionssize') : optionssize<br />
getWindowElementParam(elementPtr, 'element') : elementStr<br />
getWindowElementParam(elementPtr, 'tabssize') : tabssize<br />
getWindowElementParam(elementPtr, 'activetab') : activetab<br />
getWindowElementParam(elementPtr, 'slot') : slot<br />
getWindowElementParam(elementPtr, 'container') : gameContainerPtr<br />
getWindowElementParam(elementPtr, 'state') : state<br />
getWindowElementParam(elementPtr, 'valueptr') : valuePtrType<br />
getWindowElementParam(elementPtr, 'period') : period<br />
getWindowElementParam(elementPtr, 'template') : templatePtr<br />
addMemoElement(elementPtr, elementStr, active = 1)<br />
addTableMemoRow(elementPtr)<br />
addTableMemoColumn(elementPtr, columnElementPtr)<br />
addListElement(elementPtr, elementStr, active = 1)<br />
timerRun(elementPtr)<br />
timerStop(elementPtr)<br />
getGUIManager() : guiManagerPtr<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">GUI management functions:</span></span><br />
GUIAddWindow(guiManagerPtr, windowPtr)<br />
GUIRemoveWindow(guiManagerPtr, windowPtr)<br />
GUIGetWindows(guiManagerPtr) : windows{windowPtr, ...}<br />
GUIClearWindows(guiManagerPtr)<br />
GUIContainWindow(guiManagerPtr, windowPtr)<br />
GUIAddConnection(guiManagerPtr, windowPtr1, windowPtr2) : guiConnectionPtr<br />
GUIRemoveConnection(guiManagerPtr, guiConnectionPtr)<br />
GUIRemoveConnections(guiManagerPtr, windowPtr)<br />
GUIGetConnections(guiManagerPtr, windowPtr) : connections{guiConnectionPtr, ...}<br />
GUIAddActionOnResizeMainWindow(guiManagerPtr, functionName, arg1, arg2, ..., sameScript)<br />
GUIAddActionOnSetPosition(guiManagerPtr, windowPtr, functionName, arg1, arg2, ..., sameScript)<br />
GUIAddActionOnSetSize(guiManagerPtr, windowPtr, functionName, arg1, arg2, ..., sameScript)<br />
GUIConnGetFirstWindow(guiConnectionPtr) : windowPtr<br />
GUIConnGetSecondWindow(guiConnectionPtr) : windowPtr<br />
GUIConnGetOtherWindow(guiConnectionPtr, windowPtr) : windowPtr<br />
GUIConnContainWindow(guiConnectionPtr, windowPtr) : state<br />
GUIConnSetAction(guiConnectionPtr, actionMain, actionOther)<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">System functions:</span></span><br />
getMouse() : mousePtr<br />
getKeyboard() : keyboardPtr<br />
getResolution() : resolution{x, y}<br />
takeScreenshot()<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Hotkeys functions:</span></span><br />
getHotkeyPtr(id) : hotkeyPtr<br />
setHotkey(id, key)<br />
getHotkey(id) : key<br />
clearHotkey(id)<br />
getHotkeyItemContainer(id) : itemcontainerPtr<br />
setHotkeyItemContainer(id, itemcontainerPtr)<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Interaction functions:</span></span><br />
doPlayerLogout()<br />
doPlayerSay(wordsStr)<br />
doPlayerMove(direction)<br />
doPlayerTurn(direction)<br />
doPlayerAttack(creatureID)<br />
doPlayerFollow(creatureID)<br />
doMoveThing(fromPosition, fromItemId, fromStackPos, toPosition, count)<br />
doUseThing(position, itemID, stackPos)<br />
doUseWithThing(fromPosition, fromItemID, fromStackPos, toPosition, toItemID, toStackPos)<br />
doUseThingBattle(itemID, count, creatureID)<br />
doUseHotkey(id)<br />
doContainerClose(index)<br />
doContainerMoveUp(index)<br />
doAddMagicEffect(position, type)<br />
doAddDistanceShot(fromPosition, toPosition, type)<br />
doAddAnimatedText(interval, position, color, textStr)<br />
doRequestChannels()<br />
doRequestOutfit()<br />
doRequestSpells()<br />
doRequestQuestLog()<br />
doQuit()<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Items functions:</span></span><br />
setItemShine(itemPtr, shine)<br />
getItemShine(itemPtr) : shine<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Map functions:</span></span><br />
getPathTo(position) : list{direction, ...}<br />
getWaypoint(index) : waypoint{pos{x, y, z}, type, comment}<br />
getWaypointsSize() : size<br />
getItemByStackPos(position, stackPos) : item{id, count, stack, pointer}<br />
getTopTopItem(position) : item{id, count, stack, pointer}<br />
getTopDownItem(position) : item{id, count, stack, pointer}<br />
getUseableItem(position, useWith = 0) : item{id, count, stack, pointer}<br />
setDirectioPosition(position)<br />
addPositionArrow(position)<br />
removePositionArrow(position)<br />
clearPositionArrows()<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">MiniMap functions:</span></span><br />
getMiniMap() : minimapPtr<br />
changeMiniMapLevel(minimapPtr, step)<br />
resetMiniMapLevel(minimapPtr)<br />
setMiniMapZoom(minimapPtr, zoom)<br />
getMiniMapZoom(minimapPtr) : zoom<br />
changeMiniMapZoom(minimapPtr, multiplier)<br />
resetMiniMapZoom(minimapPtr)<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Cooldowns functions:</span></span><br />
newCooldown() : cooldownPtr<br />
deleteCooldown(cooldownPtr)<br />
addCooldown(id, cooldownPtr)<br />
removeCooldown(id)<br />
castCooldown(id, period)<br />
castCooldownGroup(groupid, period)<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Icons functions:</span></span><br />
getLogoIcon() : imagePtr<br />
getAttackIcon() : imagePtr<br />
getFollowIcon() : imagePtr<br />
getSelectIcon() : imagePtr<br />
getDirArrowIcon() : imagePtr<br />
getPosArrowIcon() : imagePtr<br />
getSlotIcon(id) : imagePtr<br />
getSkullIcon(id) : imagePtr<br />
getShieldIcon(id) : imagePtr<br />
getFightIcon(id) : imagePtr<br />
getStatusIcon(id) : imagePtr<br />
getButtonIcon(id) : imagePtr<br />
getMinimapIcon(id) : imagePtr<br />
getWaypointIcon(id) : imagePtr<br />
getSpellGroupIcon(id) : imagePtr<br />
getSpellIcon(id) : imagePtr<br />
getCustomIcon(id) : imagePtr<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Channels functions:</span></span><br />
openChannel(channelID, channelName, closeable = true)<br />
channelAddMessage(channelID, color, messageStr)<br />
channelAddMessage(channelName, color, messageStr)<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Containers functions:</span></span><br />
getContainer(index) : containerPtr<br />
containerGetLastIndex() : index<br />
containerResetLastIndex()<br />
containerGetPlaces(index) : places<br />
containerGetSize(index) : size<br />
containerGetItem(index, slot) : item{id, count, stack, pointer}<br />
isContainer(itemid) : state<br />
hasParent(index) : state<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Game Pointers functions:</span></span><br />
setPointer('window_game', windowPtr)<br />
setPointer('window_console', windowPtr)<br />
setPointer('element_consoletab', elementPtr)<br />
setPointer('element_cmdline', elementPtr)<br />
getPointer('window_game') : windowPtr<br />
getPointer('window_console') : windowPtr<br />
getPointer('element_consoletab') : elementPtr<br />
getPointer('element_cmdline') : elementPtr<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Player functions:</span></span><br />
getPlayerID() : playerID<br />
getPlayerPosition() : position{x, y, z}<br />
getPlayerStep() : step<br />
getPlayerHealth() : health<br />
getPlayerMaxHealth() : healthMax<br />
getPlayerHealthP() : healthPercent<br />
getPlayerMana() : mana<br />
getPlayerMaxMana() : manaMax<br />
getPlayerManaP() : manaPercent<br />
getPlayerCapacity() : capacity<br />
getPlayerExperience() : experience<br />
getPlayerLevel() : level<br />
getPlayerLevelP() : levelPercent<br />
getPlayerMagicLevel() : magicLevel<br />
getPlayerMagicLevelP() : magicLevelPercent<br />
getPlayerSoul() : soul<br />
getPlayerStamina() : stamina<br />
getPlayerSkill(num) : skill<br />
getPlayerSkillP(num) : skillPercent<br />
getPlayerAttackID() : attackID<br />
getPlayerFollowID() : followID<br />
getPlayerSelectID() : selectID<br />
getPlayerBattle() : battle{creatureID, ...}<br />
getPlayerInventory() : containerPtr<br />
getPlayerInventoryItem(slot) : item{id, count, stack, pointer}<br />
playerCheckItemPresence(itemid, itemSubType = 0) : state<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Creature functions:</span></span><br />
setCreatureName(creatureID, name)<br />
getCreatureID(name, radius = 0) : creatureID<br />
setCreatureShine(creatureID, shine)<br />
getCreatureShine(creatureID) : shine<br />
getCreatureName(creatureID) : name<br />
getCreaturePosition(creatureID) : position{x, y, z}<br />
getCreatureHealth(creatureID) : health<br />
getCreatureSkull(creatureID) : skull<br />
getCreatureShield(creatureID) : shield<br />
getCreatureWar(creatureID) : war<br />
getCreatureStep(creatureID) : step<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Sounds functions:</span></span><br />
playBackgroundSound(id, sampleClass = SAMPLE_BACKGROUND)<br />
stopBackgroundSound()<br />
playSystemSound(id)<br />
playEffectSound(id, x, y, z)<br />
playDistanceSound(id, x, y, z)<br />
playCustomSound(id, volume, offset)<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Text functions:</span></span><br />
getText(keyStr) : textStr<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Tools functions:</span></span><br />
divideText(textStr, fontPtr, fontSize, lineWidth) : lines{lineStr1, lineStr2, ...}]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">functionName(parameters) : return</span><br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Main functions:</span></span><br />
sleep(miliseconds)<br />
run(scriptName, functionName, arg1, arg2, ..., threaded, localDir)<br />
lock(lockName)<br />
unlock(lockName)<br />
bitTest(value, bitNumber) : state<br />
setFlag(flag)<br />
clearFlag(flag)<br />
hasFlag(flag) : state<br />
new(type) : valuePtr<br />
delete(valuePtr)<br />
setDynamic(valuePtr, valueStr)<br />
getDynamic(valuePtr, precision = 6) : valueStr<br />
setGlobal(key, value)<br />
getGlobal(key) : valueStr<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Time functions:</span></span><br />
getTime() : timestamp<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">INILoader functions:</span></span><br />
newINILoader() : iniLoaderPtr<br />
deleteINILoader(iniLoaderPtr)<br />
iniOpenFile(iniLoaderPtr, path)<br />
iniOpenString(iniLoaderPtr, str)<br />
iniSaveFile(iniLoaderPtr, path)<br />
iniGetValue(iniLoaderPtr, varname, index = 0) : valueStr<br />
iniGetValue(iniLoaderPtr, varnum, index = 0) : valueStr<br />
iniSetValue(iniLoaderPtr, varname, valueStr, index = 0)<br />
iniGetSize(iniLoaderPtr) : size<br />
iniGetVarName(iniLoaderPtr, varnum) : varname<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Mouse functions:</span></span><br />
setMouseHolder(mousePtr, posX, posY, type, holderPtr = 0, variablePtr = 0, windowPtr = 0)<br />
getMouseHolder(mousePtr) : holder{posX, posY, type, holderPtr, variablePtr, windowPtr}<br />
getMouseButtons(mousePtr) : buttons<br />
getMousePosition(mousePtr) : position{x, y}<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Keyboard functions:</span></span><br />
getKeyState(keyboardPtr, key) : state<br />
getCapsLockState(keyboardPtr) : state<br />
getNumLockState(keyboardPtr) : state<br />
getScrollLockState(keyboardPtr) : state<br />
getKeyChar(keyboardPtr) : keyChar<br />
getOldKeyChar(keyboardPtr) : keyChar<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Window functions:</span></span><br />
getWindowTemplate(templateName) : templatePtr<br />
getWindowTemplateFont(templatePtr) : fontPtr<br />
createWindow(x, y, templatePtr) : windowPtr<br />
createWindow(x, y, templateName) : windowPtr<br />
findWindow(wndType) : windowPtr<br />
openWindow(wndType) : windowPtr<br />
getWindowByTitle(title, wndType = WND_ALL) : windowPtr<br />
addWindow(windowPtr)<br />
killWindow(windowPtr)<br />
closeWindow(windowPtr)<br />
moveWindowOnTop(windowPtr)<br />
isWindowOnList(windowPtr)<br />
setWindowParam(windowPtr, 'title', title)<br />
setWindowParam(windowPtr, 'position', x, y, ignoreConnections = 0)<br />
setWindowParam(windowPtr, 'size', width, height, ignoreConnections = 0)<br />
setWindowParam(windowPtr, 'type', type)<br />
setWindowParam(windowPtr, 'executeaction', scriptName, functionName, arg1, arg2, ..., localDir, sameScript)<br />
setWindowParam(windowPtr, 'activateaction', scriptName, functionName, arg1, arg2, ..., localDir, sameScript)<br />
setWindowParam(windowPtr, 'closeaction', scriptName, functionName, arg1, arg2, ..., localDir, sameScript)<br />
setWindowParam(windowPtr, 'minimizeaction', scriptName, functionName, arg1, arg2, ..., localDir, sameScript)<br />
setWindowParam(windowPtr, 'intsize', width, height, adjust = 0)<br />
setWindowParam(windowPtr, 'minsize', value)<br />
setWindowParam(windowPtr, 'maxsize', value)<br />
setWindowParam(windowPtr, 'closeability', state)<br />
setWindowParam(windowPtr, 'minimizeability', state)<br />
setWindowParam(windowPtr, 'hideability', state)<br />
setWindowParam(windowPtr, 'alwaysactive', state)<br />
setWindowParam(windowPtr, 'template', templatePtr)<br />
getWindowParam(windowPtr, 'title') : titleStr<br />
getWindowParam(windowPtr, 'position') : position{x, y}<br />
getWindowParam(windowPtr, 'size') : size{x, y}<br />
getWindowParam(windowPtr, 'template') : templatePtr<br />
getWindowParam(windowPtr, 'container') : containerPtr<br />
createWindowElement('container', align, x, y, width, hegiht, backgrounded, bordered, templatePtr) : elementPtr<br />
createWindowElement('text', align, x, y, width, templatePtr) : elementPtr<br />
createWindowElement('link', align, x, y, width, mousePtr, templatePtr) : elementPtr<br />
createWindowElement('image', align, x, y, width, height, imagePtr, templatePtr) : elementPtr<br />
createWindowElement('button', align, buttonType, x, y, width, height, templatePtr) : elementPtr<br />
createWindowElement('textarea', align, x, y, width, hegiht, editable, multilined, templatePtr) : elementPtr<br />
createWindowElement('memo', align, x, y, width, height, templatePtr) : elementPtr<br />
createWindowElement('tablememo', align, x, y, width, height, templatePtr) : elementPtr<br />
createWindowElement('list', align, x, y, width, height, templatePtr) : elementPtr<br />
createWindowElement('timer', align, x, y, width, height, templatePtr) : elementPtr<br />
createWindowElement('tab', align, x, y, width, height, backgrounded, bordered, templatePtr) : elementPtr<br />
createWindowElement('itemcontainer', align, x, y, width, height, gameContainerPtr, templatePtr) : elementPtr<br />
createWindowElement('checkbox', align, x, y, width, templatePtr) : elementPtr<br />
createWindowElement('scrollbar', align, x, y, width, templatePtr) : elementPtr<br />
createWindowElement('skillbar', align, x, y, width, height, valuePtr, templatePtr) : elementPtr<br />
createWindowElement('colormap', align, x, y, width, height, templatePtr) : elementPtr<br />
createWindowElement('cooldown', align, x, y, width, height, templatePtr) : elementPtr<br />
createWindowElement('select', align, x, y, width, height, mousePtr, templatePtr) : elementPtr<br />
getWindowElement(containerPtr, elementNumber = 0) : elementPtr<br />
addWindowElement(containerPtr, elementPtr)<br />
removeWindowElement(containerPtr, elementPtr)<br />
deleteWindowElement(elementPtr)<br />
clearWindowElements(containerPtr)<br />
setWindowElementParam(elementPtr, 'position', x, y)<br />
setWindowElementParam(elementPtr, 'size', width, height)<br />
setWindowElementParam(elementPtr, 'locks', lwidth, lheight)<br />
setWindowElementParam(elementPtr, 'enabled', state)<br />
setWindowElementParam(elementPtr, 'shine', shine)<br />
setWindowElementParam(elementPtr, 'comment', commentStr)<br />
setWindowElementParam(elementPtr, 'action', scriptName, functionName, arg1, arg2, ..., localDir, sameScript)<br />
setWindowElementParam(elementPtr, 'actiondbl', scriptName, functionName, arg1, arg2, ..., localDir, sameScript)<br />
setWindowElementParam(elementPtr, 'actionlook', scriptName, functionName, arg1, arg2, ..., localDir, sameScript)<br />
setWindowElementParam(elementPtr, 'actionuse', scriptName, functionName, arg1, arg2, ..., localDir, sameScript)<br />
setWindowElementParam(elementPtr, 'intsize', width, height, adjust = 0)<br />
setWindowElementParam(elementPtr, 'textalign', align)<br />
setWindowElementParam(elementPtr, 'text', textStr)<br />
setWindowElementParam(elementPtr, 'color', colorIndex) //Textarea element only<br />
setWindowElementParam(elementPtr, 'color', red, green, blue, alpha = 1.0)<br />
setWindowElementParam(elementPtr, 'colorin', red, green, blue, alpha = 1.0)<br />
setWindowElementParam(elementPtr, 'colorout', red, green, blue, alpha = 1.0)<br />
setWindowElementParam(elementPtr, 'background', state)<br />
setWindowElementParam(elementPtr, 'background', imagePtr) //Cooldown element only<br />
setWindowElementParam(elementPtr, 'border', state)<br />
setWindowElementParam(elementPtr, 'fontsize', size)<br />
setWindowElementParam(elementPtr, 'precision', precision)<br />
setWindowElementParam(elementPtr, 'scroll', state)<br />
setWindowElementParam(elementPtr, 'scrollalwaysvisible', horizontalState, verticalState)<br />
setWindowElementParam(elementPtr, 'image', imagePtr)<br />
setWindowElementParam(elementPtr, 'hotkey', hotkeyPtr)<br />
setWindowElementParam(elementPtr, 'slot', slot)<br />
setWindowElementParam(elementPtr, 'pressed', state)<br />
setWindowElementParam(elementPtr, 'inverse', state)<br />
setWindowElementParam(elementPtr, 'offset', offset)<br />
setWindowElementParam(elementPtr, 'maxlength', maxlength)<br />
setWindowElementParam(elementPtr, 'hidden', state)<br />
setWindowElementParam(elementPtr, 'active', state)<br />
setWindowElementParam(elementPtr, 'option', option, executeOnSet)<br />
setWindowElementParam(elementPtr, 'option', option)<br />
setWindowElementParam(elementPtr, 'rowheight', height)<br />
setWindowElementParam(elementPtr, 'columnwidth', columnNum, width, percent = 0)<br />
setWindowElementParam(elementPtr, 'columnname', columnNum, name)<br />
setWindowElementParam(elementPtr, 'timestop', timestamp)<br />
setWindowElementParam(elementPtr, 'timeinterval', miliseconds)<br />
setWindowElementParam(elementPtr, 'state', state)<br />
setWindowElementParam(elementPtr, 'valueptr', valuePtr)<br />
setWindowElementParam(elementPtr, 'minvalue', minvalue)<br />
setWindowElementParam(elementPtr, 'maxvalue', maxvalue)<br />
setWindowElementParam(elementPtr, 'tabsheight', height)<br />
setWindowElementParam(elementPtr, 'template', templatePtr)<br />
setWindowElementParam(elementPtr, 'spellid', spellID)<br />
setWindowElementParam(elementPtr, 'groupid', groupID)<br />
setWindowElementParam(elementPtr, 'cast', castTime, period)<br />
getWindowElementParam(elementPtr, 'position') : position{x, y}<br />
getWindowElementParam(elementPtr, 'position', 'abs') : position{x, y} //Absolute position on screen<br />
getWindowElementParam(elementPtr, 'size') : size{x, y}<br />
getWindowElementParam(elementPtr, 'shine') : shine<br />
getWindowElementParam(elementPtr, 'comment') : commentStr<br />
getWindowElementParam(elementPtr, 'intsize') : intsize{x, y}<br />
getWindowElementParam(elementPtr, 'scrolloffset') : scrolloffset{x, y}<br />
getWindowElementParam(elementPtr, 'scrolloffset') : scrolloffset<br />
getWindowElementParam(elementPtr, 'text') : textStr<br />
getWindowElementParam(elementPtr, 'pressed') : state<br />
getWindowElementParam(elementPtr, 'inverse') : state<br />
getWindowElementParam(elementPtr, 'option') : option<br />
getWindowElementParam(elementPtr, 'optionssize') : optionssize<br />
getWindowElementParam(elementPtr, 'element') : elementStr<br />
getWindowElementParam(elementPtr, 'tabssize') : tabssize<br />
getWindowElementParam(elementPtr, 'activetab') : activetab<br />
getWindowElementParam(elementPtr, 'slot') : slot<br />
getWindowElementParam(elementPtr, 'container') : gameContainerPtr<br />
getWindowElementParam(elementPtr, 'state') : state<br />
getWindowElementParam(elementPtr, 'valueptr') : valuePtrType<br />
getWindowElementParam(elementPtr, 'period') : period<br />
getWindowElementParam(elementPtr, 'template') : templatePtr<br />
addMemoElement(elementPtr, elementStr, active = 1)<br />
addTableMemoRow(elementPtr)<br />
addTableMemoColumn(elementPtr, columnElementPtr)<br />
addListElement(elementPtr, elementStr, active = 1)<br />
timerRun(elementPtr)<br />
timerStop(elementPtr)<br />
getGUIManager() : guiManagerPtr<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">GUI management functions:</span></span><br />
GUIAddWindow(guiManagerPtr, windowPtr)<br />
GUIRemoveWindow(guiManagerPtr, windowPtr)<br />
GUIGetWindows(guiManagerPtr) : windows{windowPtr, ...}<br />
GUIClearWindows(guiManagerPtr)<br />
GUIContainWindow(guiManagerPtr, windowPtr)<br />
GUIAddConnection(guiManagerPtr, windowPtr1, windowPtr2) : guiConnectionPtr<br />
GUIRemoveConnection(guiManagerPtr, guiConnectionPtr)<br />
GUIRemoveConnections(guiManagerPtr, windowPtr)<br />
GUIGetConnections(guiManagerPtr, windowPtr) : connections{guiConnectionPtr, ...}<br />
GUIAddActionOnResizeMainWindow(guiManagerPtr, functionName, arg1, arg2, ..., sameScript)<br />
GUIAddActionOnSetPosition(guiManagerPtr, windowPtr, functionName, arg1, arg2, ..., sameScript)<br />
GUIAddActionOnSetSize(guiManagerPtr, windowPtr, functionName, arg1, arg2, ..., sameScript)<br />
GUIConnGetFirstWindow(guiConnectionPtr) : windowPtr<br />
GUIConnGetSecondWindow(guiConnectionPtr) : windowPtr<br />
GUIConnGetOtherWindow(guiConnectionPtr, windowPtr) : windowPtr<br />
GUIConnContainWindow(guiConnectionPtr, windowPtr) : state<br />
GUIConnSetAction(guiConnectionPtr, actionMain, actionOther)<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">System functions:</span></span><br />
getMouse() : mousePtr<br />
getKeyboard() : keyboardPtr<br />
getResolution() : resolution{x, y}<br />
takeScreenshot()<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Hotkeys functions:</span></span><br />
getHotkeyPtr(id) : hotkeyPtr<br />
setHotkey(id, key)<br />
getHotkey(id) : key<br />
clearHotkey(id)<br />
getHotkeyItemContainer(id) : itemcontainerPtr<br />
setHotkeyItemContainer(id, itemcontainerPtr)<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Interaction functions:</span></span><br />
doPlayerLogout()<br />
doPlayerSay(wordsStr)<br />
doPlayerMove(direction)<br />
doPlayerTurn(direction)<br />
doPlayerAttack(creatureID)<br />
doPlayerFollow(creatureID)<br />
doMoveThing(fromPosition, fromItemId, fromStackPos, toPosition, count)<br />
doUseThing(position, itemID, stackPos)<br />
doUseWithThing(fromPosition, fromItemID, fromStackPos, toPosition, toItemID, toStackPos)<br />
doUseThingBattle(itemID, count, creatureID)<br />
doUseHotkey(id)<br />
doContainerClose(index)<br />
doContainerMoveUp(index)<br />
doAddMagicEffect(position, type)<br />
doAddDistanceShot(fromPosition, toPosition, type)<br />
doAddAnimatedText(interval, position, color, textStr)<br />
doRequestChannels()<br />
doRequestOutfit()<br />
doRequestSpells()<br />
doRequestQuestLog()<br />
doQuit()<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Items functions:</span></span><br />
setItemShine(itemPtr, shine)<br />
getItemShine(itemPtr) : shine<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Map functions:</span></span><br />
getPathTo(position) : list{direction, ...}<br />
getWaypoint(index) : waypoint{pos{x, y, z}, type, comment}<br />
getWaypointsSize() : size<br />
getItemByStackPos(position, stackPos) : item{id, count, stack, pointer}<br />
getTopTopItem(position) : item{id, count, stack, pointer}<br />
getTopDownItem(position) : item{id, count, stack, pointer}<br />
getUseableItem(position, useWith = 0) : item{id, count, stack, pointer}<br />
setDirectioPosition(position)<br />
addPositionArrow(position)<br />
removePositionArrow(position)<br />
clearPositionArrows()<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">MiniMap functions:</span></span><br />
getMiniMap() : minimapPtr<br />
changeMiniMapLevel(minimapPtr, step)<br />
resetMiniMapLevel(minimapPtr)<br />
setMiniMapZoom(minimapPtr, zoom)<br />
getMiniMapZoom(minimapPtr) : zoom<br />
changeMiniMapZoom(minimapPtr, multiplier)<br />
resetMiniMapZoom(minimapPtr)<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Cooldowns functions:</span></span><br />
newCooldown() : cooldownPtr<br />
deleteCooldown(cooldownPtr)<br />
addCooldown(id, cooldownPtr)<br />
removeCooldown(id)<br />
castCooldown(id, period)<br />
castCooldownGroup(groupid, period)<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Icons functions:</span></span><br />
getLogoIcon() : imagePtr<br />
getAttackIcon() : imagePtr<br />
getFollowIcon() : imagePtr<br />
getSelectIcon() : imagePtr<br />
getDirArrowIcon() : imagePtr<br />
getPosArrowIcon() : imagePtr<br />
getSlotIcon(id) : imagePtr<br />
getSkullIcon(id) : imagePtr<br />
getShieldIcon(id) : imagePtr<br />
getFightIcon(id) : imagePtr<br />
getStatusIcon(id) : imagePtr<br />
getButtonIcon(id) : imagePtr<br />
getMinimapIcon(id) : imagePtr<br />
getWaypointIcon(id) : imagePtr<br />
getSpellGroupIcon(id) : imagePtr<br />
getSpellIcon(id) : imagePtr<br />
getCustomIcon(id) : imagePtr<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Channels functions:</span></span><br />
openChannel(channelID, channelName, closeable = true)<br />
channelAddMessage(channelID, color, messageStr)<br />
channelAddMessage(channelName, color, messageStr)<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Containers functions:</span></span><br />
getContainer(index) : containerPtr<br />
containerGetLastIndex() : index<br />
containerResetLastIndex()<br />
containerGetPlaces(index) : places<br />
containerGetSize(index) : size<br />
containerGetItem(index, slot) : item{id, count, stack, pointer}<br />
isContainer(itemid) : state<br />
hasParent(index) : state<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Game Pointers functions:</span></span><br />
setPointer('window_game', windowPtr)<br />
setPointer('window_console', windowPtr)<br />
setPointer('element_consoletab', elementPtr)<br />
setPointer('element_cmdline', elementPtr)<br />
getPointer('window_game') : windowPtr<br />
getPointer('window_console') : windowPtr<br />
getPointer('element_consoletab') : elementPtr<br />
getPointer('element_cmdline') : elementPtr<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Player functions:</span></span><br />
getPlayerID() : playerID<br />
getPlayerPosition() : position{x, y, z}<br />
getPlayerStep() : step<br />
getPlayerHealth() : health<br />
getPlayerMaxHealth() : healthMax<br />
getPlayerHealthP() : healthPercent<br />
getPlayerMana() : mana<br />
getPlayerMaxMana() : manaMax<br />
getPlayerManaP() : manaPercent<br />
getPlayerCapacity() : capacity<br />
getPlayerExperience() : experience<br />
getPlayerLevel() : level<br />
getPlayerLevelP() : levelPercent<br />
getPlayerMagicLevel() : magicLevel<br />
getPlayerMagicLevelP() : magicLevelPercent<br />
getPlayerSoul() : soul<br />
getPlayerStamina() : stamina<br />
getPlayerSkill(num) : skill<br />
getPlayerSkillP(num) : skillPercent<br />
getPlayerAttackID() : attackID<br />
getPlayerFollowID() : followID<br />
getPlayerSelectID() : selectID<br />
getPlayerBattle() : battle{creatureID, ...}<br />
getPlayerInventory() : containerPtr<br />
getPlayerInventoryItem(slot) : item{id, count, stack, pointer}<br />
playerCheckItemPresence(itemid, itemSubType = 0) : state<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Creature functions:</span></span><br />
setCreatureName(creatureID, name)<br />
getCreatureID(name, radius = 0) : creatureID<br />
setCreatureShine(creatureID, shine)<br />
getCreatureShine(creatureID) : shine<br />
getCreatureName(creatureID) : name<br />
getCreaturePosition(creatureID) : position{x, y, z}<br />
getCreatureHealth(creatureID) : health<br />
getCreatureSkull(creatureID) : skull<br />
getCreatureShield(creatureID) : shield<br />
getCreatureWar(creatureID) : war<br />
getCreatureStep(creatureID) : step<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Sounds functions:</span></span><br />
playBackgroundSound(id, sampleClass = SAMPLE_BACKGROUND)<br />
stopBackgroundSound()<br />
playSystemSound(id)<br />
playEffectSound(id, x, y, z)<br />
playDistanceSound(id, x, y, z)<br />
playCustomSound(id, volume, offset)<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Text functions:</span></span><br />
getText(keyStr) : textStr<br />
<br />
<span style="font-style: italic;" class="mycode_i"><span style="font-weight: bold;" class="mycode_b">Tools functions:</span></span><br />
divideText(textStr, fontPtr, fontSize, lineWidth) : lines{lineStr1, lineStr2, ...}]]></content:encoded>
		</item>
	</channel>
</rss>