NOTE: This is an archive of the old wiki.
Expect content to be outdated and links to be broken.

User Tools


python:geentity:cbaseentity

GEEntity::CBaseEntity

Description

Represents a basic entity in the source engine

Version

Beta 4.0

NameSpace

GEEntity

Inherits

None

Methods

GetParent

Gets the parent entity.<br> Parameters: None<br> Return: GEEntity.CBaseEntity<br>

GetOwner

Gets the entity that owns this entity<br> Parameters: None<br> Return: GEEntity.CBaseEntity<br>

SetModel

Set the model of this entity<br> Parameters: Modle name (string)<br> Return: None<br>

IsAlive

Is this entity alive?<br> Parameters: None<br> Return: bool<br>

GetTeamNumber

Gets the team number of this entity<br> Parameters: None<br> Return: Team Number<br>

GetAbsOrigin

Gets the origin of this entity<br> Parameters: None<br> Return: GEUtil.Vector<br>

GetAbsAngles

Gets the angles of this entity<br> Parameters: None<br> Return: GEUtil.QAngle<br>

GetId

Gets the entity slot number<br> Parameters: None<br> Return: int<br>

python/geentity/cbaseentity.txt ยท Last modified: 2023/09/03 18:43 by 127.0.0.1