Skyline Lua API
Version 1.0 RC1
Lua Script Reference for Skyline Game Engine.
|
This is the complete list of members for entity, including all inherited members.
addScript(int entityID, string scriptName) | entity | |
attach(int parentID, int childID) | entity | |
callFn(int entityID, int targetID, String functionName, String arg) | entity | |
callPublicFn(entityID, targetID, value) | entity | |
delete(int entityID) | entity | |
detach(int parentID, int childID) | entity | |
distance | entity | |
exist(int entityID) | entity | |
followPath(entityID, Pathname, Speed,(opt) useRoll) | entity | |
getBoundingMaximum(objID) float getScale() | entity | |
getBoundingMinimum(objID) | entity | |
getBoundingRadius(objID) | entity | |
getBoundingSize(objID) | entity | |
getDescription(int entityID) | entity | |
getDirection(int entityID_1, int entityID_2) | entity | |
getDirectionOfEntity(int entityID) | entity | |
getDistance(int objectID, int TargetID) | entity | |
getDistanceToVector(obj, x, y, z) | entity | |
getDynamicProperty(eID, paramName) float setDynamicProperty(eID | entity | |
getElevation(int objectID, int TargetID) | entity | |
getForward(int entityID) | entity | |
getHeading(int objectID, int TargetID) | entity | |
getHeadingV3(int objectID, float x, float y, float z) | entity | |
getIDFromTag(string entityTagName) | entity | |
getLastHitID() | entity | |
getLocalOrientation(int entityID) | entity | |
getLocalOrientationByAxis(int entityID, int axisX, int axisY, int axisZ) | entity | |
getLocalPosition(int entityID) | entity | |
getMaterialName(int objId, int subentityIndex) | entity | |
getMeshName(objID) | entity | |
getName(int objID) | entity | |
getNumSubEntities() | entity | |
getPosition(int entityID) | entity | |
getRadialOffset(int objID, float radiusOffset, float posx, float posy, float posz) | entity | |
getRight(int entityID) | entity | |
getRotationTo(float srcRotX, float srcRotY, float srcRotZ, float destRotX, float destRotY, float destRotZ) | entity | |
getSquaredDistance(int objectID, int TargetID) | entity | |
getTagFromID(int entityID) | entity | |
getUp(int entityID) | entity | |
getWorldOrientation(int entityID) | entity | |
getWorldOrientationByAxis(int entityID, int axisX, int axisY, int axisZ) | entity | |
getWorldPosition(int entityID) | entity | |
inverseTransform(int entityID, float x, float y, float z) | entity | |
isColliding(int objID, float direction_x, float direction_y, float direction_z, float range, int queryflag) | entity | |
lookatObject(int entityID, int targetID, float rotProgress, int axisX, int axisY, int axisZ) | entity | |
lookatPosition(int entityID, float lookAtPosX, float lookAtPosY, float lookAtPosZ, float rotProgress, int axisX, int axisY, int axisZ) | entity | |
move(int objID, float pitch, float yaw, float roll) | entity | |
paramName | entity | |
paramValue | entity | |
pitch(int entityID, float angle) | entity | |
refreshDynamicProperties() | entity | |
registerTodEvent(int objID) | entity | |
removeRegisteredTodEvent(int objID) | entity | |
roll(int entityID, float angle, int DegreeOrRadian) | entity | |
rotateToSurface(eID, normalx, normaly, normalz, qw, qx, qy, qz) | entity | |
setAdvancedMaterial(id, materialname) | entity | |
setDescription(int entityID, string description) | entity | |
setDirection(int entityID, float dirX, float dirY, float dirZ) | entity | |
setFixedYaw(int entityID, int check[0 or 1]) | entity | |
setLocalOrientation(int entityID, int rotW, int rotX, int rotY, int rotZ) | entity | |
setMaterialName(int objId, string materialName) | entity | |
setName(int objID, string name) | entity | |
setPos(int entityID, Table pos) | entity | |
setPosition(int entityID, float posX, float posY, float posZ) | entity | |
setQueryFlag(int entityID, int QueryFlag) | entity | |
setQueryFlag_DoNotSelect(int entityID) | entity | |
setQueryFlag_Model(int entityID) | entity | |
setRotation(int entityID, float rotX, float rotY, float rotZ) | entity | |
setScale(int entityID, float scaleX, float scaleY, float scaleZ) | entity | |
setShadow(int entityID, int enabledState) | entity | |
setStatic(int entityID, int state) | entity | |
setStatic(bool state) | entity | |
setSubMaterialName(int objId, int subentityIndex, string materialName) | entity | |
setTag(int entityID, string tag) | entity | |
setVisible(int entityID, int enabledState) | entity | |
setVisibleDistance(int entityID, float distance) | entity | |
setVisibleDistance(float distaance) | entity | |
setWorldOrientation(int entityID, int rotW, int rotX, int rotY, int rotZ) | entity | |
spawn(string meshFilename, float posX, float posY, float posZ, float scaleX, float scaleY, float scaleZ) | entity | |
subtractPositions(int entityID_1, int entityID_2) | entity | |
subtractPositions_float3(float x1, float y1, float z1, float x2, float y2, float z2) | entity | |
turn(int objID, float pitch, float yaw, float roll) | entity | |
yaw(int entityID, float angle) | entity |