Functions
Entity_AddAbility
Parameters
Returns unknown
Entity_AdjustAbilityCooldown
- Entity_AdjustAbilityCooldown(arg1: Entity, arg2: number): void
Entity_ApplyHealthChange
- Entity_ApplyHealthChange(arg1: Entity, arg2: number): void
Entity_BuildCycleList
- Entity_BuildCycleList(): void
Entity_CalculatePassableSpawnPosition
- Entity_CalculatePassableSpawnPosition(): unknown
Entity_CanAttackNow
Parameters
Returns unknown
Entity_CanCurrentlyBeDamaged
- Entity_CanCurrentlyBeDamaged(arg1: Entity): boolean
Parameters
Returns boolean
Entity_CanLoadSquad
- Entity_CanLoadSquad(arg1: Entity, arg2: Squad, arg3: unknown, arg4: unknown): unknown
Parameters
arg3: unknown
arg4: unknown
Returns unknown
Entity_CanSeeEntity
Parameters
Returns boolean
Entity_CanSeeSquad
Parameters
Returns unknown
Entity_CanTargetEntity
- Entity_CanTargetEntity(arg1: Entity, arg2: Entity, arg3: boolean): boolean
Parameters
Returns boolean
Entity_CancelProductionQueueItem
- Entity_CancelProductionQueueItem(arg1: Entity, arg2: number): unknown
Parameters
Returns unknown
Entity_ClearPendingDeathFlag
- Entity_ClearPendingDeathFlag(arg1: Entity): void
Entity_ClearPostureSuggestion
- Entity_ClearPostureSuggestion(arg1: Entity): void
Entity_ClearStateModelEnumTableTarget
- Entity_ClearStateModelEnumTableTarget(): unknown
Entity_ClearStateModelTarget
- Entity_ClearStateModelTarget(arg1: Entity, arg2: string): void
Entity_ClearTagDebug
- Entity_ClearTagDebug(): void
Entity_CompleteUpgrade
Parameters
Returns unknown
Entity_ConvertBlueprint
Parameters
Returns unknown
Entity_CreateENV
- Entity_CreateENV(arg1: EntityBlueprint, arg2: unknown, arg3: unknown): unknown
Parameters
arg2: unknown
arg3: unknown
Returns unknown
Entity_CreateENVFacing
- Entity_CreateENVFacing(arg1: EntityBlueprint, arg2: unknown, arg3: unknown, arg4: unknown): unknown
Parameters
arg2: unknown
arg3: unknown
arg4: unknown
Returns unknown
Entity_CreateFacing
- Entity_CreateFacing(arg1: EntityBlueprint, arg2: unknown, arg3: unknown, arg4: unknown, arg5: unknown): unknown
Parameters
arg2: unknown
arg3: unknown
arg4: unknown
arg5: unknown
Returns unknown
Entity_CycleDebug
- Entity_CycleDebug(): void
Entity_DeSpawn
- Entity_DeSpawn(arg1: Entity): void
Entity_Destroy
- Entity_Destroy(arg1: Entity): void
Entity_DestroyAll
- Entity_DestroyAll(): void
Entity_DisableCancelConstructionCommand
- Entity_DisableCancelConstructionCommand(): unknown
Entity_DoBurnDamage
- Entity_DoBurnDamage(arg1: Entity, arg2: number, arg3: boolean): void
Parameters
arg2: number
arg3: boolean
Returns void
Entity_EnableAttention
- Entity_EnableAttention(arg1: Entity, arg2: boolean): void
Entity_EnableProductionQueue
- Entity_EnableProductionQueue(arg1: Entity, arg2: boolean): void
Entity_EnableStrategicPoint
- Entity_EnableStrategicPoint(arg1: Entity, arg2: boolean): void
Entity_ExtensionCount
- Entity_ExtensionCount(): number
Entity_ExtensionEnabled
- Entity_ExtensionEnabled(arg1: Entity, arg2: number): boolean
Parameters
Returns boolean
Entity_ExtensionExecuting
- Entity_ExtensionExecuting(arg1: Entity, arg2: number): boolean
Parameters
Returns boolean
Entity_ExtensionExist
- Entity_ExtensionExist(arg1: Entity, arg2: string): boolean
Parameters
Returns boolean
Entity_ExtensionName
- Entity_ExtensionName(arg1: Entity, arg2: number): void
Entity_ForceConstruct
- Entity_ForceConstruct(arg1: Entity): void
Entity_ForceSelfConstruct
- Entity_ForceSelfConstruct(arg1: Entity): void
Entity_FromID
- Entity_FromID(entityId: number): unknown
Parameters
Returns unknown
Entity_GetActiveCommand
- Entity_GetActiveCommand(arg1: Entity): unknown
Parameters
Returns unknown
Entity_GetAttackTarget
Parameters
Returns unknown
Entity_GetAttackTargetEntity
- Entity_GetAttackTargetEntity(arg1: Entity): void
Entity_GetAttackTargetSquad
- Entity_GetAttackTargetSquad(arg1: Entity): void
Entity_GetBuildingProgress
- Entity_GetBuildingProgress(arg1: Entity): number
Entity_GetCollisionRadius
Parameters
Returns unknown
Entity_GetCoverValue
- Entity_GetCoverValue(arg1: Entity): number
Entity_GetDeathSeconds
Parameters
Returns unknown
Entity_GetDebugEntity
- Entity_GetDebugEntity(): void
Entity_GetDeleteOnDeath
Parameters
Returns unknown
Entity_GetFenceEntityCount
- Entity_GetFenceEntityCount(arg1: PropertyBagGroup, arg2: unknown, arg3: unknown): unknown
Parameters
arg2: unknown
arg3: unknown
Returns unknown
Entity_GetFilledHoldSquadSlots
- Entity_GetFilledHoldSquadSlots(arg1: Entity): number
Entity_GetHeading
- Entity_GetHeading(arg1: Entity): unknown
Parameters
Returns unknown
Entity_GetHealth
- Entity_GetHealth(arg1: Entity): number
Entity_GetHealthMax
- Entity_GetHealthMax(arg1: Entity): number
Entity_GetHealthPercentage
- Entity_GetHealthPercentage(arg1: Entity): number
Entity_GetID
- Entity_GetID(arg1: Entity): number
Entity_GetInvulnerableMinCap
- Entity_GetInvulnerableMinCap(arg1: Entity): number
Entity_GetLastAttacker
Parameters
Returns unknown
Entity_GetLastAttackers
- Entity_GetLastAttackers(arg1: Entity, arg2: SGroup, arg3: unknown): unknown
Parameters
Returns unknown
Entity_GetLastEntityAttackers
- Entity_GetLastEntityAttackers(arg1: Entity, arg2: EGroup, arg3: unknown): unknown
Parameters
Returns unknown
Entity_GetMaxCaptureCrewSize
- Entity_GetMaxCaptureCrewSize(arg1: Entity): number
Entity_GetMaxHoldSquadSlots
- Entity_GetMaxHoldSquadSlots(arg1: Entity): number
Entity_GetMeleeBlocksPerAttacks
- Entity_GetMeleeBlocksPerAttacks(arg1: Entity): unknown
Parameters
Returns unknown
Entity_GetNumInteractors
- Entity_GetNumInteractors(arg1: Entity, interactionType: string): unknown
Parameters
Returns unknown
Entity_GetProductionQueueItem
- Entity_GetProductionQueueItem(arg1: Entity, arg2: number): unknown
Parameters
Returns unknown
Entity_GetProductionQueueItemType
- Entity_GetProductionQueueItemType(): unknown
Entity_GetProductionQueueSize
- Entity_GetProductionQueueSize(arg1: Entity): number
Entity_GetProjectileBlocksPerAttacks
- Entity_GetProjectileBlocksPerAttacks(): unknown
Entity_GetRadius
- Entity_GetRadius(arg1: Entity): number
Entity_GetRangedBlocksPerAttacks
- Entity_GetRangedBlocksPerAttacks(arg1: Entity): unknown
Parameters
Returns unknown
Entity_GetRemainingResourceDepositAmount
- Entity_GetRemainingResourceDepositAmount(): unknown
Entity_GetSightInnerHeight
- Entity_GetSightInnerHeight(arg1: Entity): number
Entity_GetSightInnerRadius
- Entity_GetSightInnerRadius(arg1: Entity): number
Entity_GetSightOuterHeight
- Entity_GetSightOuterHeight(arg1: Entity): number
Entity_GetSightOuterRadius
- Entity_GetSightOuterRadius(arg1: Entity): number
Entity_GetSquad
- Entity_GetSquad(arg1: Entity): void
Entity_GetSquadsHeld
Parameters
Returns unknown
Entity_GetStateModelBool
- Entity_GetStateModelBool(arg1: Entity, arg2: string): boolean
Parameters
Returns boolean
Entity_GetStateModelEntityTarget
- Entity_GetStateModelEntityTarget(arg1: Entity, arg2: string): void
Entity_GetStateModelEnumTableBool
- Entity_GetStateModelEnumTableBool(): unknown
Entity_GetStateModelEnumTableEntityTarget
- Entity_GetStateModelEnumTableEntityTarget(): unknown
Entity_GetStateModelEnumTableFloat
- Entity_GetStateModelEnumTableFloat(): unknown
Entity_GetStateModelEnumTableInt
- Entity_GetStateModelEnumTableInt(arg1: Entity, arg2: string, arg3: number): number
Entity_GetStateModelEnumTablePlayerTarget
- Entity_GetStateModelEnumTablePlayerTarget(): unknown
Entity_GetStateModelEnumTableSquadTarget
- Entity_GetStateModelEnumTableSquadTarget(): unknown
Entity_GetStateModelEnumTableVector3f
- Entity_GetStateModelEnumTableVector3f(): unknown
Entity_GetStateModelFloat
- Entity_GetStateModelFloat(arg1: Entity, arg2: string): number
Entity_GetStateModelInt
- Entity_GetStateModelInt(arg1: Entity, arg2: string): number
Entity_GetStateModelPlayerTarget
- Entity_GetStateModelPlayerTarget(arg1: Entity, arg2: string): void
Entity_GetStateModelSquadTarget
- Entity_GetStateModelSquadTarget(arg1: Entity, arg2: string): void
Entity_GetStateModelVector3f
- Entity_GetStateModelVector3f(arg1: Entity, arg2: string): unknown
Parameters
Returns unknown
Entity_GetStateTreeTargeting_EntityTarget
- Entity_GetStateTreeTargeting_EntityTarget(): unknown
Entity_GetStateTreeTargeting_PlayerTarget
- Entity_GetStateTreeTargeting_PlayerTarget(): unknown
Entity_GetStateTreeTargeting_SquadTarget
- Entity_GetStateTreeTargeting_SquadTarget(): unknown
Entity_GetStateTreeTargeting_Vector3f
- Entity_GetStateTreeTargeting_Vector3f(): unknown
Entity_GetStrategicPointSecureCount
- Entity_GetStrategicPointSecureCount(): unknown
Entity_GetWeaponBlueprint
- Entity_GetWeaponBlueprint(arg1: Entity, arg2: number): unknown
Parameters
Returns unknown
Entity_GetWeaponHardpointCount
- Entity_GetWeaponHardpointCount(arg1: Entity): number
Entity_HandleAllAsserts
- Entity_HandleAllAsserts(): void
Entity_HasAbility
Parameters
Returns unknown
Entity_HasProductionQueue
- Entity_HasProductionQueue(arg1: Entity): boolean
Parameters
Returns boolean
Entity_HasUpgrade
Parameters
Returns unknown
Entity_InstantCaptureStrategicPoint
- Entity_InstantCaptureStrategicPoint(): unknown
Entity_InstantConvertBuildingToFieldSupport
- Entity_InstantConvertBuildingToFieldSupport(): unknown
Entity_InstantRevertOccupiedBuilding
- Entity_InstantRevertOccupiedBuilding(): unknown
Entity_IsAbilityActive
Parameters
Returns unknown
Entity_IsActive
- Entity_IsActive(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsAlive
- Entity_IsAlive(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsAttacking
- Entity_IsAttacking(arg1: Entity, arg2: number): boolean
Parameters
Returns boolean
Entity_IsBuilding
- Entity_IsBuilding(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsBurnable
- Entity_IsBurnable(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsBurning
- Entity_IsBurning(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsCamouflaged
- Entity_IsCamouflaged(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsCapturableBuilding
- Entity_IsCapturableBuilding(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsCasualty
- Entity_IsCasualty(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsCuttable
- Entity_IsCuttable(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsDemolitionReady
- Entity_IsDemolitionReady(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsDoingAbility
Parameters
Returns unknown
Entity_IsEBP
Parameters
Returns unknown
Entity_IsEBPBuilding
Parameters
Returns unknown
Entity_IsEBPObjCover
Parameters
Returns unknown
Entity_IsEBPOfType
Parameters
Returns unknown
Entity_IsHardpointActive
- Entity_IsHardpointActive(arg1: Entity, arg2: number): boolean
Parameters
Returns boolean
Entity_IsHoldingAny
- Entity_IsHoldingAny(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsInBackground
- Entity_IsInBackground(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsInfantry
- Entity_IsInfantry(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsInvulnerable
- Entity_IsInvulnerable(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsMoving
- Entity_IsMoving(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsOfType
- Entity_IsOfType(arg1: Entity, arg2: string): boolean
Parameters
Returns boolean
Entity_IsOnWalkableWall
- Entity_IsOnWalkableWall(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsPartOfSquad
- Entity_IsPartOfSquad(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsPlane
- Entity_IsPlane(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsPlannedStructure
- Entity_IsPlannedStructure(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsProducingSquad
Parameters
Returns unknown
Entity_IsProductionQueueAvailable
- Entity_IsProductionQueueAvailable(): unknown
Entity_IsResourceGenerator
- Entity_IsResourceGenerator(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsSlotItem
- Entity_IsSlotItem(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsSpawned
- Entity_IsSpawned(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsStartingPosition
- Entity_IsStartingPosition(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsStrategicPoint
- Entity_IsStrategicPoint(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsStrategicPointCapturedBy
- Entity_IsStrategicPointCapturedBy(): unknown
Entity_IsSyncWeapon
- Entity_IsSyncWeapon(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsUBP
Parameters
Returns unknown
Entity_IsUnderAttack
- Entity_IsUnderAttack(arg1: Entity, arg2: number): boolean
Parameters
Returns boolean
Entity_IsUnderAttackByPlayer
- Entity_IsUnderAttackByPlayer(arg1: Entity, arg2: Player, arg3: number): boolean
Parameters
Returns boolean
Entity_IsUnderAttackFromDirection
- Entity_IsUnderAttackFromDirection(): unknown
Entity_IsUnderRepair
- Entity_IsUnderRepair(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsValid
- Entity_IsValid(arg1: number): boolean
Parameters
Returns boolean
Entity_IsVaultable
- Entity_IsVaultable(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsVehicle
- Entity_IsVehicle(arg1: Entity): boolean
Parameters
Returns boolean
Entity_IsVictoryPoint
- Entity_IsVictoryPoint(arg1: Entity): boolean
Parameters
Returns boolean
Entity_Kill
- Entity_Kill(arg1: Entity): void
Entity_Population
Parameters
Returns unknown
Entity_Precache
- Entity_Precache(arg1: EntityBlueprint, arg2: unknown, arg3: unknown, arg4: unknown, arg5: unknown, arg6: unknown): unknown
Parameters
arg2: unknown
arg3: unknown
arg4: unknown
arg5: unknown
arg6: unknown
Returns unknown
Entity_RagDoll
- Entity_RagDoll(arg1: Entity): void
Entity_RemoveAbility
Parameters
Returns unknown
Entity_RemoveBoobyTraps
- Entity_RemoveBoobyTraps(arg1: Entity): void
Entity_RemoveDemolitions
- Entity_RemoveDemolitions(arg1: Entity): void
Entity_RemoveUpgrade
Parameters
Returns unknown
Entity_RequiresSlottedSplineUpdateAfterBlueprintConversion
- Entity_RequiresSlottedSplineUpdateAfterBlueprintConversion(): unknown
Entity_ResetMeleeBlocksPerAttacks
- Entity_ResetMeleeBlocksPerAttacks(): unknown
Entity_ResetProjectileBlocksPerAttacks
- Entity_ResetProjectileBlocksPerAttacks(): unknown
Entity_ResetRangedBlocksPerAttacks
- Entity_ResetRangedBlocksPerAttacks(): unknown
Entity_RestoreTargetingType
- Entity_RestoreTargetingType(arg1: Entity): void
Entity_SetAnimatorAction
- Entity_SetAnimatorAction(arg1: Entity, arg2: string): void
Entity_SetAnimatorActionParameter
- Entity_SetAnimatorActionParameter(): unknown
Entity_SetAnimatorEvent
- Entity_SetAnimatorEvent(arg1: Entity, arg2: string): void
Entity_SetAnimatorState
- Entity_SetAnimatorState(arg1: Entity, arg2: string, arg3: string): void
Entity_SetAnimatorVariable
- Entity_SetAnimatorVariable(arg1: Entity, arg2: string, arg3: number): void
Entity_SetBackground
- Entity_SetBackground(arg1: Entity, arg2: boolean): void
Entity_SetCrushMode
Parameters
Returns unknown
Entity_SetCrushable
- Entity_SetCrushable(arg1: Entity, arg2: boolean): void
Entity_SetDemolitions
- Entity_SetDemolitions(arg1: Player, arg2: Entity, arg3: number): boolean
Parameters
Returns boolean
Entity_SetEnableCasualty
- Entity_SetEnableCasualty(arg1: boolean, arg2: Entity): void
Entity_SetExtEnabled
- Entity_SetExtEnabled(arg1: Entity, arg2: string, arg3: boolean): void
Parameters
arg2: string
arg3: boolean
Returns void
Entity_SetHeading
Parameters
Returns unknown
Entity_SetHeadingGroundSnapOptional
- Entity_SetHeadingGroundSnapOptional(): unknown
Entity_SetHealth
- Entity_SetHealth(arg1: Entity, arg2: number): void
Entity_SetInvulnerableMinCap
- Entity_SetInvulnerableMinCap(arg1: Entity, arg2: number, arg3: number): void
Entity_SetMeleeBlocksPerAttacks
- Entity_SetMeleeBlocksPerAttacks(arg1: Entity, arg2: number, arg3: number): void
Entity_SetOnFire
- Entity_SetOnFire(arg1: Entity): void
Entity_SetPosition
Parameters
Returns unknown
Entity_SetPositionWithinCell
Parameters
Returns unknown
Entity_SetProjectileBlocksPerAttacks
- Entity_SetProjectileBlocksPerAttacks(): unknown
Entity_SetProjectileCanExplode
- Entity_SetProjectileCanExplode(arg1: Entity, arg2: boolean): void
Entity_SetRangedBlocksPerAttacks
- Entity_SetRangedBlocksPerAttacks(arg1: Entity, arg2: number, arg3: number): void
Entity_SetRecrewable
- Entity_SetRecrewable(arg1: Entity, arg2: boolean): unknown
Parameters
Returns unknown
Entity_SetRemainingResourceDepositAmount
- Entity_SetRemainingResourceDepositAmount(): unknown
Entity_SetSharedProductionQueue
- Entity_SetSharedProductionQueue(arg1: Entity, arg2: boolean): void
Entity_SetShowSilhouette
- Entity_SetShowSilhouette(arg1: Entity, arg2: boolean): void
Entity_SetStateModelBool
- Entity_SetStateModelBool(arg1: Entity, arg2: string, arg3: boolean): void
Parameters
arg2: string
arg3: boolean
Returns void
Entity_SetStateModelEntityTarget
- Entity_SetStateModelEntityTarget(arg1: Entity, arg2: string, arg3: Entity): void
Entity_SetStateModelEnumTableBool
- Entity_SetStateModelEnumTableBool(): unknown
Entity_SetStateModelEnumTableEntityTarget
- Entity_SetStateModelEnumTableEntityTarget(): unknown
Entity_SetStateModelEnumTableFloat
- Entity_SetStateModelEnumTableFloat(): unknown
Entity_SetStateModelEnumTableInt
- Entity_SetStateModelEnumTableInt(arg1: Entity, arg2: string, arg3: number, arg4: number): void
Parameters
arg2: string
arg3: number
arg4: number
Returns void
Entity_SetStateModelEnumTablePlayerTarget
- Entity_SetStateModelEnumTablePlayerTarget(): unknown
Entity_SetStateModelEnumTableSquadTarget
- Entity_SetStateModelEnumTableSquadTarget(): unknown
Entity_SetStateModelEnumTableVector3f
- Entity_SetStateModelEnumTableVector3f(): unknown
Entity_SetStateModelFloat
- Entity_SetStateModelFloat(arg1: Entity, arg2: string, arg3: number): void
Entity_SetStateModelInt
- Entity_SetStateModelInt(arg1: Entity, arg2: string, arg3: number): void
Entity_SetStateModelPlayerTarget
- Entity_SetStateModelPlayerTarget(arg1: Entity, arg2: string, arg3: Player): void
Entity_SetStateModelSquadTarget
- Entity_SetStateModelSquadTarget(arg1: Entity, arg2: string, arg3: Squad): unknown
Parameters
Returns unknown
Entity_SetStateModelVector3f
Parameters
Returns unknown
Entity_SetStayBurningWhileInvulnerable
- Entity_SetStayBurningWhileInvulnerable(): unknown
Entity_SetStrategicPointNeutral
- Entity_SetStrategicPointNeutral(arg1: Entity): void
Entity_SetStrategicPointReticuleVisible
- Entity_SetStrategicPointReticuleVisible(): unknown
Entity_SetTargetingType
Parameters
Returns unknown
Entity_SetWorldOwned
- Entity_SetWorldOwned(arg1: Entity): void
Entity_SimHide
- Entity_SimHide(arg1: Entity, arg2: boolean): void
Entity_SnapToGridAndGround
- Entity_SnapToGridAndGround(arg1: Entity, arg2: boolean): void
Entity_Spawn
- Entity_Spawn(ent: Entity): void
Entity_SpawnDoNotAddPathfindingAndCollision
- Entity_SpawnDoNotAddPathfindingAndCollision(): unknown
Entity_SpawnLiveMunition
- Entity_SpawnLiveMunition(arg1: PropertyBagGroup, arg2: unknown, arg3: unknown, arg4: unknown): unknown
Parameters
arg2: unknown
arg3: unknown
arg4: unknown
Returns unknown
Entity_SpawnToward
- Entity_SpawnToward(arg1: Entity, arg2: ScarPosition, arg3: unknown, arg4: unknown): unknown
Parameters
arg3: unknown
arg4: unknown
Returns unknown
Entity_StopAbility
Parameters
Returns unknown
Entity_StopFire
- Entity_StopFire(arg1: Entity): void
Entity_SuggestPosture
- Entity_SuggestPosture(arg1: Entity, arg2: number, arg3: number): void
Entity_SupportsDemolition
- Entity_SupportsDemolition(arg1: Entity): boolean
Parameters
Returns boolean
Entity_TagDebug
- Entity_TagDebug(arg1: Entity): void
Entity_VisHide
- Entity_VisHide(arg1: Entity, arg2: boolean): void
Creates an entity