Template:Entity functions c
- Functions:
- Entity::getVariable
- Entity::setVariable
- Entity::hasClearLosToInFront(entity2)
- Entity::getPedIndexFromIndex()
- Entity::doesHaveDrawable()
- Entity::setCoords(xPos, yPos, zPos, xAxis, yAxis, zAxis, clearArea)
- Entity::setRecordsCollisions(toggle)
- Entity::getForwardVector()
- Entity::isAMission()
- Entity::setLoadCollisionFlag(toggle)
- Entity::setMaxSpeed(speed)
- Entity::isTouchingModel(modelHash)
- Entity::isStatic()
- Entity::getMaxHealth()
- Entity::setMaxHealth(value)
- Entity::setDynamic(toggle)
- Entity::setCanBeDamaged(toggle)
- Entity::isTouching(targetEntity)
- Entity::getOffsetFromInWorldCoords(offsetX, offsetY, offsetZ)
- Entity::applyForceToCenterOfMass(forceType, x, y, z, p5, isRel, highForce, p8)
- Entity::setCollision(toggle, keepPhysics)
- Entity::setVelocity(x, y, z)
- Entity::isUpsidedown()
- Entity::getHeightAboveGround()
- Entity::isPlayingAnim(animDict, animName, p4)
- Entity::isAtCoord(xPos, yPos, zPos, xSize, ySize, zSize, p7, p8, p9)
- Entity::hasAnimFinished(animDict, animName, p3)
- Entity::getRotationVelocity()
- Entity::getOffsetFromGivenWorldCoords(posX, posY, posZ)
- Entity::setCoordsNoOffset(xPos, yPos, zPos, xAxis, yAxis, zAxis)
- Entity::isAttachedToAnyVehicle()
- Entity::stopAnim(animation, animGroup, p3)
- Entity::setAnimSpeed(animDictionary, animName, speedMultiplier)
- Entity::setMotionBlur(toggle)
- Entity::getAnimCurrentTime(animDict, animName)
- Entity::setInvincible(toggle)
- Entity::getCoords(alive)
- Entity::forceAiAndAnimationUpdate()
- Entity::getLodDist()
- Entity::freezePosition(toggle)
- Entity::stopSynchronizedAnim(p1, p2)
- Entity::setAnimCurrentTime(animDictionary, animName, time)
- Entity::setAlpha(alphaLevel, skin)
- Entity::getWorldPositionOfBone(boneIndex)
- Entity::isVisible()
- Entity::getVelocity()
- Entity::getAttachedTo()
- Entity::setHasGravity(toggle)
- Entity::getVehicleIndexFromIndex()
- Entity::getNearestPlayerToOnTeam(team)
- Entity::getAnimTotalTime(animDict, animName)
- Entity::isInAngledArea(originX, originY, originZ, edgeX, edgeY, edgeZ, angle, p8, p9, p10)
- Entity::isAPed()
- Entity::isUpright(angle)
- Entity::isInArea(x1, y1, z1, x2, y2, z2, p7, p8, p9)
- Entity::setTrafficlightOverride(state)
- Entity::setLodDist(value)
- Entity::getAlpha()
- Entity::getHeight(X, Y, Z, atTop, inWorldCoords)
- Entity::getLastMaterialHitBy()
- Entity::isDead()
- Entity::hasBeenDamagedByAnyPed()
- Entity::setCoords2(xPos, yPos, zPos, xAxis, yAxis, zAxis, clearArea)
- Entity::isAVehicle()
- Entity::setHealth(health)
- Entity::attachTo(entity2, boneIndex, xPos, yPos, zPos, xRot, yRot, zRot, p9, useSoftPinning, collision, isPed, vertexIndex, fixedRot)
- Entity::setOnlyDamagedByRelationshipGroup(p1, p2)
- Entity::getNearestPlayerTo()
- Entity::doesExist()
- Entity::setRenderScorched(toggle)
- Entity::isAt(entity2, xSize, ySize, zSize, p5, p6, p7)
- Entity::setQuaternion(x, y, z, w)
- Entity::setOnlyDamagedByPlayer(toggle)
- Entity::getQuaternion(x, y, z, w)
- Entity::setLights(toggle)
- Entity::playAnim(animName, propName, p3, p4, p5, p6, delta, bitset)
- Entity::getRoll()
- Entity::getPhysicsHeading()
- Entity::setRotation(pitch, roll, yaw, rotationOrder, p5)
- Entity::getForwardY()
- Entity::isInAir()
- Entity::getType()
- Entity::hasCollidedWithAnything()
- Entity::getForwardX()
- Entity::isAnObject()
- Entity::setHeading(heading)
- Entity::hasBeenDamagedByAnyObject()
- Entity::getUprightValue()
- Entity::detach(p1, collision)
- Entity::getSpeedVector(relative)
- Entity::resetAlpha()
- Entity::getModel()
- Entity::setNoCollision(entity2, collision)
- Entity::getScript(script)
- Entity::clearLastDamage()
- Entity::setAlwaysPrerender(toggle)
- Entity::setAsMission(p1, byThisScript)
- Entity::getRotation(rotationOrder)
- Entity::isAttachedToAnyPed()
- Entity::isAttached()
- Entity::isInZone(zone)
- Entity::attachToPhysically(entity2, boneIndex1, boneIndex2, xPos1, yPos1, zPos1, xPos2, yPos2, zPos2, xRot, yRot, zRot, breakForce, fixedRot, p15, collision, p17, p18)
- Entity::applyForceTo(forceType, x, y, z, xRot, yRot, zRot, boneIndex, isRel, p10, highForce, p12, p13)
- Entity::playSynchronizedAnim(syncedScene, animation, propName, p4, p5, p6, p7)
- Entity::hasBeenDamagedBy(entity2, p2)
- Entity::isCollisonDisabled()
- Entity::isAttachedToAnyObject()
- Entity::isInWater()
- Entity::isWaitingForWorldCollision()
- Entity::setCanBeTargetedWithoutLos(toggle)
- Entity::getPitch()
- Entity::getSpeed()
- Entity::isVisibleToScript()
- Entity::getObjectIndexFromIndex()
- Entity::doesHavePhysics()
- Entity::doesBelongToThisScript(p1)
- Entity::hasBeenDamagedByAnyVehicle()
- Entity::setCanBeDamagedByRelationshipGroup(p1, p2)
- Entity::isOccluded()
- Entity::getCollisionNormalOfLastHitFor()
- Entity::isOnScreen()
- Entity::getSubmergedLevel()
- Entity::getHeading()
- Entity::hasCollisionLoadedAround()
- Entity::setIsTargetPriority(p1, p2)
- Entity::setVisible(toggle, unk)
- Entity::hasAnimEventFired(actionHash)
- Entity::getMatrix(rightVector, forwardVector, upVector, position)
- Entity::getHealth()
- Entity::isAttachedTo(to)
- Entity::processAttachments()
- Entity::getPopulationType()
- Entity::setProofs(bulletProof, fireProof, explosionProof, collisionProof, meleeProof, p6, p7, drownProof)
- Entity::getBoneIndexByName(boneName)
- Entity::hasClearLosTo(entity2, traceType)