~/forever/addon-api
Addon API
CreateActor(name, template)GetActorAtIndex(index)GetAllowOverlappedModels() : allowOverlappedModelsGetCameraFarClip() : farClipGetCameraFieldOfView() : fovGetCameraForward() : forwardX, forwardY, forwardZGetCameraNearClip() : nearClipGetCameraRight() : rightX, rightY, rightZGetCameraUp() : upX, upY, upZGetLightAmbientColor() : colorR, colorG, colorBGetLightDiffuseColor() : colorR, colorG, colorBGetLightDirection() : directionX, directionY, directionZGetLightPosition() : positionX, positionY, positionZGetLightType() : lightTypeGetNumActors() : numActorsIsLightVisible() : isVisibleProject3DPointTo2D(pointX, pointY, pointZ) : point2DX, point2DY, depthSetAllowOverlappedModels(allowOverlappedModels)SetCameraFarClip(farClip)SetCameraFieldOfView(fov)SetCameraNearClip(nearClip)SetCameraOrientationByAxisVectors(forwardX, forwardY, forwardZ, rightX, rightY, rightZ, upX, upY, upZ)SetCameraOrientationByYawPitchRoll(yaw, pitch, roll)SetLightAmbientColor(colorR, colorG, colorB)SetLightDiffuseColor(colorR, colorG, colorB)SetLightDirection(directionX, directionY, directionZ)SetLightPosition(positionX, positionY, positionZ)SetLightType(lightType)SetLightVisible(visible)TakeActor()Documented entries come from Blizzard's in-client API documentation, and UI code functions from its Lua files, mirrored per build. C functions that neither mentions aren't included, and UI code functions can be internal.