Version | Function | Note |
---|---|---|
ActivateEditBox(editboxID) | ||
CallEventScripts(eventName, argument1) | ||
CallHotkeyScripts(action) | ||
CallUpdateScripts() | ||
CallWidgetEventScripts(widget, eventName, ...) | ||
CancelEditBoxInput(editboxID) | ||
ConfirmEditBoxInput(editboxID) | ||
added in 4.00 Beta 1 | DrawCircle(radiusx, radiusy, centerx, centery, z, color) | |
added in 4.00 Beta 1 | DrawRect(width, height, offsetx, offsety, angle, z, color) | |
added in 4.00 Beta 1 | DrawTriangle(width, height, offsetx, offsety, angle, z, color) | |
GetRenderTargetMousePosition(renderTargetID) | ||
GetRenderTargetTexture(renderTargetID) | ||
GetSliderValue(sliderID) | ||
GetTopRow(tableID) | ||
GetUsableTableWidth(width, offsetx, numColumns, hasScrollBar) | ||
added in 4.00 Beta 1 | HideAllCircles() | |
added in 4.00 Beta 1 | HideAllRects() | |
added in 4.00 Beta 1 | HideAllShapes() | |
added in 4.00 Beta 1 | HideAllTriangles() | |
added in 4.00 Beta 1 | HideCircle(id) | |
added in 4.00 Beta 1 | HideRect(id) | |
added in 4.00 Beta 1 | HideTriangle(id) | |
added in 4.00 Beta 1 | IsFullscreenWidgetSystem() | |
RegisterEvent(eventName, scriptFunction) | ||
RemoveScript(widget, handle, scriptFunction) | ||
SelectColumn(tableID, column) | ||
SelectRow(tableID, row) | ||
SetScript([widget, ]handle, scriptFunction)
| ||
SetTopRow(tableID, row) | ||
UnregisterEvent(eventName, scriptFunction) |
Overview
Content Tools
2 Comments
Anonymous
Can we have more docs on SetScript? Especially all handles it can register for different types of widgets.
Stefan Hett
I've added some more details on the SetScript() function. Hope that helps a bit to get around how to use that function. If you have further question, just drop a note on this thread in the Forums: http://forum.egosoft.com/viewtopic.php?t=377587