class IEntitySource
IEntity › Managed
View all 2,060 descendants
- GenericEntity
- Object
- ObjectTyped
- Entity
- Camera
- EntityAI
- AdvancedCommunication
- Building
- AnniversaryMusicSource
- AnniversarySpotLight
- BuildingBase
- House
- Land_Underground_WaterReservoir
- Land_Underground_WaterReservoir_Water
- DayZCreature
- DayZCreatureAI
- DayZAnimal
- DayZInfected
- ZombieBase
- ZombieFemaleBase
- ZmbF_BlueCollarFat_Base
- ZmbF_CitizenANormal_Base
- ZmbF_CitizenANormal_LT_Base
- ZmbF_CitizenBSkinny_Base
- ZmbF_Clerk_Normal_Base
- ZmbF_Clerk_Normal_LT_Base
- ZmbF_ClerkFat_Base
- ZmbF_DoctorSkinny_Base
- ZmbF_HikerSkinny_Base
- ZmbF_JoggerSkinny_Base
- ZmbF_JournalistNormal_Base
- ZmbF_JournalistNormal_LT_Base
- ZmbF_MechanicNormal_Base
- ZmbF_MilkMaidOld_Base
- ZmbF_MilkMaidOld_LT_Base
- ZmbF_NurseFat_Base
- ZmbF_ParamedicNormal_Base
- ZmbF_PatientOld_Base
- ZmbF_PoliceWomanNormal_Base
- ZmbF_Runner_Base
- ZmbF_ShortSkirt_Base
- ZmbF_ShortSkirt_LT_Base
- ZmbF_SkaterYoung_Base
- ZmbF_SkaterYoung_LT_Base
- ZmbF_SurvivorNormal_Base
- ZmbF_SurvivorNormal_LT_Base
- ZmbF_usSoldier_normal_Base
- ZmbF_VillagerOld_Base
- ZmbF_VillagerOld_LT_Base
- ZombieMaleBase
- ZmbM__Runner_Base
- ZmbM_CitizenASkinny_Base
- ZmbM_CitizenASkinny_LT_Base
- ZmbM_CitizenBFat_Base
- ZmbM_ClerkFat_Base
- ZmbM_ClerkFat_LT_Base
- ZmbM_CommercialPilotOld_Base
- ZmbM_CommercialPilotOld_LT_Base
- ZmbM_ConstrWorkerNormal_Base
- ZmbM_DoctorFat_Base
- ZmbM_FarmerFat_Base
- ZmbM_FarmerFat_LT_Base
- ZmbM_FirefighterNormal_Base
- ZmbM_FishermanOld_Base
- ZmbM_Gamedev_Base
- ZmbM_HandymanNormal_Base
- ZmbM_HeavyIndustryWorker_Base
- ZmbM_HermitSkinny_Base
- ZmbM_HikerSkinny_Base
- ZmbM_HunterOld_Base
- ZmbM_Jacket_Base
- ZmbM_Jacket_LT_Base
- ZmbM_JoggerSkinny_Base
- ZmbM_JournalistSkinny_Base
- ZmbM_MechanicSkinny_Base
- ZmbM_MotobikerFat_Base
- ZmbM_Mummy
- ZmbM_NBC_Grey
- ZmbM_NBC_White
- ZmbM_NBC_Yellow
- ZmbM_OffshoreWorker_Base
- ZmbM_ParamedicNormal_Base
- ZmbM_PatientSkinny_Base
- ZmbM_PatrolNormal_Base
- ZmbM_PolicemanFat_Base
- ZmbM_PolicemanSpecForce_Base
- ZmbM_priestPopSkinny_Base
- ZmbM_PrisonerSkinny_Base
- ZmbM_SkaterYoung_Base
- ZmbM_SkaterYoung_LT_Base
- ZmbM_Soldier_Base
- ZmbM_SoldierNormal_Base
- ZmbM_SurvivorDean_Base
- ZmbM_usSoldier_normal_Base
- ZmbM_VillagerOld_Base
- ZmbM_VillagerOld_LT_Base
- ZombieFemaleBase
- ZombieBase
- DayZCreatureAI
- EffecterBase
- InventoryItem
- FemaleFeet_Base
- FemaleHands_Base
- FemaleLegs_Base
- FemaleTorso_Base
- ItemBase
- BaitBase
- BandageDressing
- BarbedWire
- Bark_ColorBase
- BaseBuildingBase
- Battery9V
- BatteryCharger
- BatteryD
- BloodContainerBase
- Blowtorch
- Bone
- BrakeFluid
- BurlapStrip
- ButaneCanister
- CableReel
- CamoNet
- CamoNetShelter
- CattleProd
- Chemlight_ColorBase
- Clothing_Base
- Clothing
- Armband_ColorBase
- Backpack_Base
- AliceBag_ColorBase
- ArmyPouch_ColorBase
- AssaultBag_ColorBase
- Attack2Bag_ColorBase
- CanvasBag_ColorBase
- ChildBag_ColorBase
- CourierBag
- CoyoteBag_ColorBase
- DryBag_ColorBase
- DrysackBag_ColorBase
- DuffelBagSmall_ColorBase
- FurCourierBag
- FurImprovisedBag
- GhillieBushrag_ColorBase
- GhillieSuit_ColorBase
- GhillieTop_ColorBase
- HuntingBag
- ImprovisedBag
- LargeTentBackPack
- LeatherSack_ColorBase
- MountainBag_ColorBase
- SlingBag_ColorBase
- SmershBag
- TaloonBag_ColorBase
- TortillaBag
- Bandana_ColorBase
- Belt_Base
- Glasses_Base
- Gloves_Base
- HeadGear_Base
- BaseballCap_ColorBase
- BeanieHat_ColorBase
- BoonieHat_ColorBase
- BudenovkaHat_ColorBase
- BurlapSackCover
- Chainmail_Coif
- ChristmasHeadband_ColorBase
- CowboyHat_ColorBase
- FlatCap_ColorBase
- GhillieHood_ColorBase
- HeadCover_Improvised
- Headdress_Colorbase
- Headdress_Fox
- HelmetBase
- BallisticHelmet_ColorBase
- ConstructionHelmet_ColorBase
- DarkMotoHelmet_ColorBase
- DirtBikeHelmet_ColorBase
- FirefightersHelmet_ColorBase
- GorkaHelmet
- GreatHelm
- HockeyHelmet_ColorBase
- Mich2001Helmet
- MotoHelmet_ColorBase
- NorseHelm
- PumpkinHelmet
- SkateHelmet_ColorBase
- Ssh68Helmet
- T56TankerHelmet_Colorbase
- WeldingMask
- ZSh3PilotHelmet
- LeafCrown_Colorbase
- LeatherHat_ColorBase
- MedicalScrubsHat_ColorBase
- MilitaryBeret_ColorBase
- MilitaryCap_ColorBase
- MorozkoHat
- NBCHood
- NBCHoodBase
- OfficerHat
- OKZKCap_ColorBase
- PetushokHat_ColorBase
- PilotkaCap
- PoliceCap
- PrisonerCap
- RadarCap_ColorBase
- SantasHat
- SherpaHat_ColorBase
- SnowstormUshanka_ColorBase
- TankerHelmet
- Ushanka_ColorBase
- WinterCoif_ColorBase
- WitchHat
- WitchHood_ColorBase
- WitchHoodCoif_ColorBase
- ZmijovkaCap_ColorBase
- Headtorch_ColorBase
- KnifeHolster
- LeatherMoccasinsShoes_Natural
- Mask_Base
- Pants_Base
- BDUPants
- Breeches_ColorBase
- CanvasPants_ColorBase
- CanvasPantsMidi_ColorBase
- CargoPants_ColorBase
- Chainmail_Leggings
- FirefightersPants_ColorBase
- GorkaPants_ColorBase
- HunterPants_ColorBase
- Jeans_ColorBase
- JumpsuitPants_ColorBase
- LeatherPants_ColorBase
- LegsCover_Improvised
- MedicalScrubsPants_ColorBase
- NavyUniformPants
- NBCPantsBase
- OMKPants_ColorBase
- ParamedicPants_ColorBase
- PolicePants
- PolicePantsOrel
- PrisonUniformPants
- ShortJeans_ColorBase
- Skirt_ColorBase
- SlacksPants_ColorBase
- TrackSuitPants_ColorBase
- TTSKOPants
- USMCPants_ColorBase
- Shemag_ColorBase
- Shoes_Base
- AthleticShoes_ColorBase
- Ballerinas_ColorBase
- ColdOperationBoots_ColorBase
- CombatBoots_ColorBase
- DressShoes_ColorBase
- FeetCover_Improvised
- HikingBoots_ColorBase
- HikingBootsLow_ColorBase
- JoggingShoes_ColorBase
- JungleBoots_ColorBase
- LeatherShoes_ColorBase
- MedievalBoots
- MilitaryBoots_ColorBase
- NBCBootsBase
- Sneakers_ColorBase
- TraditionalBoots_ColorBase
- TTSKOBoots
- Wellies_ColorBase
- WorkingBoots_ColorBase
- Splint_Applied
- Top_Base
- BDUJacket
- Blouse_ColorBase
- BomberJacket_ColorBase
- BushlatPoliceJacket_ColorBase
- Chainmail
- ChernarusSportShirt
- DenimJacket
- DownJacket_ColorBase
- FirefighterJacket_ColorBase
- GorkaEJacket_ColorBase
- GulagJacket_ColorBase
- HikingJacket_ColorBase
- Hoodie_ColorBase
- HuntingJacket_ColorBase
- JumpsuitJacket_ColorBase
- LabCoat
- LeatherJacket_ColorBase
- LeatherShirt_ColorBase
- M65Jacket_ColorBase
- ManSuit_ColorBase
- MedicalScrubsShirt_ColorBase
- MilitarySweater_ColorBase
- MiniDress_ColorBase
- NavyUniformJacket
- NBCJacketBase
- NurseDress_ColorBase
- OMKJacket_ColorBase
- ParamedicJacket_ColorBase
- PilotJacket_ColorBase
- PoliceJacket
- PoliceJacketOrel
- PrisonUniformJacket
- QuiltedJacket_ColorBase
- Raincoat_ColorBase
- RidersJacket_ColorBase
- Shirt_ColorBase
- Sweater_ColorBase
- TacticalShirt_ColorBase
- TelnyashkaShirt
- TorsoCover_Improvised
- TrackSuitJacket_ColorBase
- TShirt_ColorBase
- TTsKOJacket_ColorBase
- USMCJacket_ColorBase
- WinterMilitaryCoat_ColorBase
- WomanSuit_ColorBase
- WoolCoat_ColorBase
- Vest_Base
- WitchHood
- Clothing
- CombinationLock
- Container_Base
- Defibrillator
- DuctTape
- DummyItem
- Edible_Base
- Apple
- BakedBeansCan
- BakedBeansCan_Opened
- Banana
- BearSteakMeat
- Bitterlings
- BoarSteakMeat
- Bottle_Base
- BoxCerealCrunchin
- BrisketSpread
- BrisketSpread_Opened
- Candycane_Colorbase
- CaninaBerry
- Cannabis
- Carp
- CarpFilletMeat
- CharcoalTablets
- ChelatingTablets
- ChickenBreastMeat
- CowSteakMeat
- CrabCan
- CrabCan_Opened
- DeadChicken_ColorBase
- DeadFox
- DeadRabbit
- DeerSteakMeat
- DisinfectantAlcohol
- DisinfectantSpray
- DogFoodCan
- DogFoodCan_Opened
- FoxSteakMeat
- GoatSteakMeat
- GreenBellPepper
- Guts
- Honey
- HumanSteakMeat
- IodineTincture
- Kiwi
- Lard
- Lunchmeat
- Lunchmeat_Opened
- Mackerel
- MackerelFilletMeat
- Marmalade
- MouflonSteakMeat
- MushroomBase
- Orange
- PainkillerTablets
- Pajka
- Pajka_Opened
- Pate
- Pate_Opened
- PeachesCan
- PeachesCan_Opened
- Pear
- PigSteakMeat
- Plum
- PorkCan
- PorkCan_Opened
- Potato
- PowderedMilk
- Pumpkin
- PurificationTablets
- RabbitLegMeat
- RedCaviar
- ReindeerSteakMeat
- Rice
- SambucusBerry
- Sardines
- SardinesCan
- SardinesCan_Opened
- SheepSteakMeat
- Shrimp
- SlicedPumpkin
- SmallGuts
- Snack_ColorBase
- SodaCan_ColorBase
- SpaghettiCan
- SpaghettiCan_Opened
- SteelheadTrout
- SteelheadTroutFilletMeat
- TacticalBaconCan
- TacticalBaconCan_Opened
- TetracyclineAntibiotics
- Tomato
- TunaCan
- TunaCan_Opened
- UnknownFoodCan
- UnknownFoodCan_Opened
- VitaminBottle
- WalleyePollock
- WalleyePollockFilletMeat
- WolfSteakMeat
- Worm
- Zagorky_ColorBase
- Zucchini
- EngineBelt
- EngineOil
- ExplosivesBase
- FarmingHoe
- FieldShovel
- FireplaceBase
- Firewood
- FishingHookBase
- FishingRod_Base
- FishingRod_Base_New
- Flag_Base
- Flag_Altis
- Flag_APA
- Flag_BabyDeer
- Flag_Bear
- Flag_Bohemia
- Flag_BrainZ
- Flag_Cannibals
- Flag_CDF
- Flag_Chedaki
- Flag_CHEL
- Flag_Chernarus
- Flag_CMC
- Flag_Crook
- Flag_DayZ
- Flag_HunterZ
- Flag_Livonia
- Flag_LivoniaArmy
- Flag_LivoniaPolice
- Flag_NAPA
- Flag_NSahrani
- Flag_Pirates
- Flag_Refuge
- Flag_Rex
- Flag_Rooster
- Flag_RSTA
- Flag_Snake
- Flag_SSahrani
- Flag_TEC
- Flag_UEC
- Flag_White
- Flag_Wolf
- Flag_Zagorky
- Flag_Zenit
- FlammableBase
- Flashbang
- Flashlight
- GardenBase
- GardenLime
- GasMask_Filter
- GiftWrapPaper
- GlowPlug
- GP5GasMask_Filter
- GrozaGL_LowerReceiver
- HandDrillKit
- Head
- HeadlightH7
- Heatpack
- Inventory_Base
- AK_PlasticHndgrd
- AK_RailHndgrd
- AK_WoodHndgrd
- AK74_Hndgrd
- AntiChemInjector
- AntiPestsSpray
- AtlasBipod
- BarbedBaseballBat
- BaseballBat
- BloodTestKit
- BrassKnuckles_ColorBase
- BurlapSack
- ButtstockBase
- Candle
- CanOpener
- Cassette
- ChickenFeather
- CigarettePack_ColorBase
- ClearSyringe
- ClockBase
- Crowbar
- DoorTestCamera
- EasterEgg
- ElectronicRepairKit
- Epinephrine
- EpoxyPutty
- Fabric
- FireExtinguisher
- FireworksBase
- FryingPan
- GorkaHelmetVisor
- Hammer
- HandcuffKeys
- Handcuffs
- HandSaw
- HayHook
- HescoBox
- Iceaxe
- InjectionVial
- LeatherSewingKit
- LongWoodenStick
- LugWrench
- M249_Hndgrd
- M249_RisHndgrd
- M4_MPHndgrd
- M4_PlasticHndgrd
- M4_RISHndgrd
- Mace
- MeatTenderizer
- MessTin
- Morphine
- Mosin_Bayonet
- MP5_PlasticHndgrd
- MP5_RailHndgrd
- NailedBaseballBat
- Nails
- Paddle
- Pen_ColorBase
- Pipe
- PipeWrench
- PlantMaterial
- Red9Bttstck
- RemoteDetonator
- Rope
- SalineBag
- SalineBagIV
- ScientificBriefcaseKeys
- SeedBase
- SeedPackBase
- SewingKit
- SKS_Bayonet
- SledgeHammer
- Spear
- Splint
- StartKitIV
- WeaponCleaningKit
- Whetstone
- Wrench
- XmasBaseballBat
- XmasLights
- KitBase
- LargeGasCanister
- LargeGasCannister
- Matchbox
- MediumGasCanister
- MediumGasCannister
- MetalPlate
- MetalWire
- Nail
- Netting
- Paper
- ParticleTest
- Pelt_Base
- PetrolLighter
- Pickaxe
- PileOfWoodenPlanks
- Pitchfork
- PlantBase
- PortableGasLamp
- PortableGasStove
- PowerGeneratorBase
- Rag
- Raycaster
- Refridgerator
- RestrainingToolLocked
- Roadflare
- Shovel
- SmallGasCanister
- SmallGasCannister
- SmallStone
- SodaCan_Empty
- SparkPlug
- Spotlight
- Spraycan_ColorBase
- Stone
- StunBaton
- SuppresorBase
- Switchable_Base
- TannedLeather
- TelescopicBaton
- TentBase
- Thermometer
- TireRepairKit
- ToolBase
- TrapBase
- TrapSpawnBase
- TripodBase
- TruckExhaust
- UndergroundStash
- VehicleBattery
- WindscreenBox
- WoodenLog
- WoodenPlank
- WoodenStick
- WorldContainer_Base
- MaleFeet_Base
- MaleHands_Base
- MaleLegs_Base
- MaleTorso_Base
- Pawn
- ScriptedEntity
- EntityLightSource
- ScriptedLightBase
- PointLightBase
- AnniversaryBoxLight
- AnniversaryMainLight
- BlowtorchLight
- BonfireLight
- BrightnessTestLight
- BuoyLight
- ChemlightLight
- EntranceLight
- ExplosionLight
- ExplosiveLight
- FireplaceLight
- FlareLight
- FlashGrenadeLight
- GoatLight
- MooringBuoyLight
- MuzzleFlashLight
- MuzzleFlashLight_1
- MuzzleFlashLight_2
- PartyLight
- PersonalLight
- PortableGasLampLight
- Roadblock_Light
- RoadflareLight
- ShellLight
- StoveLight
- TirePileLight
- TorchLight
- WarheadStorageLight
- XmasSleighLight
- XmasTreeLight
- ZombieMummyLight
- SpotLightBase
- PointLightBase
- ScriptedLightBase
- ParticleBase
- ProxySubpart
- SoundOnVehicle
- SoundWaveOnVehicle
- ProxyInventory
- Entity
- Plant
- RockBase
- Static_rock_apart1
- Static_rock_apart2
- Static_rock_bright_apart1
- Static_rock_bright_apart2
- Static_rock_bright_monolith1
- Static_rock_bright_monolith2
- Static_rock_bright_monolith3
- Static_rock_bright_monolith4
- Static_rock_bright_spike1
- Static_rock_bright_spike2
- Static_rock_bright_spike3
- Static_rock_bright_wallh1
- Static_rock_bright_wallh2
- Static_rock_bright_wallh3
- Static_rock_bright_wallv
- Static_rock_monolith1
- Static_rock_monolith2
- Static_rock_monolith3
- Static_rock_monolith4
- Static_rock_spike1
- Static_rock_spike2
- Static_rock_spike3
- Static_rock_stone10
- Static_rock_stone10_moss
- Static_rock_stone6
- Static_rock_stone6_moss
- Static_rock_stone7
- Static_rock_stone7_moss
- Static_rock_stone8
- Static_rock_stone8_moss
- Static_rock_stone9
- Static_rock_stone9_moss
- Static_rock_wallh1
- Static_rock_wallh2
- Static_rock_wallh3
- Static_rock_wallh4
- Static_rock_wallh5
- Static_rock_wallh6
- Static_rock_wallv
- Static_stone1
- Static_stone10
- Static_stone10_moss
- Static_stone2
- Static_stone3
- Static_stone4
- Static_stone5
- Static_stone5_Trail_B
- Static_stone5_Trail_G
- Static_stone5_Trail_R
- Static_stone5_Trail_Y
- Static_stone6
- Static_stone6_moss
- Static_stone7
- Static_stone7_moss
- Static_stone7_Trail_B
- Static_stone7_Trail_G
- Static_stone7_Trail_R
- Static_stone7_Trail_Y
- Static_stone8
- Static_stone8_moss
- Static_stone9
- Static_stone9_moss
- Static
- ObjectTyped
Part of Entity editor attribute system
All members, including inherited
Internal ancestor of all Entity implementations.
Constructors 1
protected void IEntity(IEntitySource src, IEntity parent)COMPONENT_SYSTEMConstructor
Methods 81
\name Event methods Event method stubs. Reimplement these in inherited entities to receive event calls
EntityEvent.TOUCH
EntityEvent.INIT
EntityEvent.EXTRA
EntityEvent.NOTVISIBLE
EntityEvent.FRAME
EntityEvent.VISIBLE
EntityEvent.POSTFRAME
EntityEvent.WORLDPROCESS
event protected void EOnSoundEvent(IEntity other, SoundEvent extra)EntityEvent.ANIMEVENT
EntityEvent.SOUNDEVENT
EntityEvent.SIMULATE
EntityEvent.POSTSIMULATE
EntityEvent.JOINTBREAK
EntityEvent.PHYSICSMOVE
EntityEvent.CONTACT
EntityEvent.EV_USER+0
EntityEvent.EV_USER+1
EntityEvent.ENTER
EntityEvent.LEAVE
EntityEvent.EV_USER+4
proto external void GetTransform(out vector mat[])Returns transformation of Entity. It returns only so much vectors as array is big
matvector[1...4]matrix to be get
Man player = g_Game.GetPlayer();
vector mat[4];
player.GetTransform(mat);
Print( mat );
>> <0.989879,-0,0.141916>,<0,1,0>,<-0.141916,0,0.989879>,<2545.08,15.6754,2867.49>Show 25 more
, CarWheel.EEHealthLevelChanged(), ChainedDropAndKillPlayerLambda.ChainedDropAndKillPlayerLambda(), ClaymoreMine.DrawDamageZone(), ComponentEntityDebug.OnDrawing(), Construction.DrawDebugCollisionBox(), Construction.DropNonUsableMaterialsServer(), DayZCreature.AddArrow(), DayZPlayerCamera3rdPersonVehicle.OnUpdate(), DestroyItemInCorpsesHandsAndCreateNewOnGndLambda.DestroyItemInCorpsesHandsAndCreateNewOnGndLambda(), GameInventory.SetGroundPosByOwnerBounds(), HandEventThrow.HandEventThrow(), Hologram.DrawDebugCollisionBox(), ItemBase.SetInventoryLocationToVicinityOrCurrent(), Object.AddArrow(), Object.Gizmo_GetWorldTransform(), PlayerBase.AddArrow(), PlayerBase.ContaminatedParticleAdjustment(), PlayerBase.DiagOnPostFrame(), SceneObject.EditorShapeUpdatePos(), ScriptCamera.EOnFrame(), ScriptCamera.FreeFly(), ScriptCamera.ScriptCamera(), Transport.IsAreaAtDoorFree(), Trigger.DrawDebugShape(), and ZombieBase.AddArrow()proto external void GetRenderTransform(out vector mat[])Returns render transformation of Entity. Must pass in vector array size of 4
matvector[4]matrix to be get
Man player = g_Game.GetPlayer();
vector mat[4];
player.GetRenderTransform(mat);
Print( mat );
>> <0.989879,-0,0.141916>,<0,1,0>,<-0.141916,0,0.989879>,<2545.08,15.6754,2867.49>proto external void GetLocalTransform(out vector mat[])Returns local transformation of Entity. It returns only so much vectors as array is big
matvector[1...4]matrix to be get
Man player = g_Game.GetPlayer();
vector mat[4];
player.GetTransform(mat);
Print( mat );
>> <0.989879,-0,0.141916>,<0,1,0>,<-0.141916,0,0.989879>,<2545.08,15.6754,2867.49>Returns one row of Entity transformation matrix
axisintmatrix axis. Can be 0..3
Returns: vector axis row of Entity matrix
Man player = g_Game.GetPlayer();
Print( player.GetTransformAxis(0) );
Print( player.GetTransformAxis(1) );
Print( player.GetTransformAxis(2) );
Print( player.GetTransformAxis(3) );
>> <-0.386781,0,0.922171>
>> <0,1,0>
>> <-0.922171,0,-0.386782>
>> <2551.34,15.6439,2856.72>proto native external void SetTransform(vector mat[4])Sets entity transformation
matvector[4]matrix to be set
vector mat[4];
Math3D.MatrixIdentity( mat )
Man player = g_Game.GetPlayer();
player.SetTransform( mat );
vector outmat[4];
player.GetTransform(outmat );
Print( outmat );
>> <1,0,0>,<0,1,0>,<0,0,1>,<0,0,0>proto native external vector GetOrigin()Returns origin of Entity
Returns: vector entity origin
Man player = g_Game.GetPlayer();
Print( player.GetOrigin() );
>> <2577.02,15.6837,2924.27>proto external vector GetLocalPosition()Returns local position of Entity
Returns: vector entity local position
Man player = g_Game.GetPlayer();
Print( player.GetOrigin() );
>> <2577.02,15.6837,2924.27>proto native external vector GetYawPitchRoll()Returns orientation of Entity in world space (Yaw, Pitch, Roll)
Returns: vector entity orientation
Man player = g_Game.GetPlayer();
Print( player.GetYawPitchRoll() );
>> <180,-76.5987,180>Show 2 more
, ScriptCamera.FreeFly(), and ScriptCamera.ScriptCamera()proto native external vector GetAngles()Same as GetYawPitchRoll, but returns rotation vector around X, Y and Z axis.
proto native external vector GetLocalYawPitchRoll()Returns local orientation when it's in hierarchy (Yaw, Pitch, Roll)
Returns: vector local orientation
Man player = g_Game.GetPlayer();
Print( player.GetLocalYawPitchRoll() );
>> <180,-57.2585,180>proto native external vector GetLocalAngles()Same as GetLocalYawPitchRoll, but returns rotation vector around X, Y and Z axis.
proto native external void SetYawPitchRoll(vector angles)Sets angles for entity (Yaw, Pitch, Roll)
anglesvectorangles to be set
Man player = g_Game.GetPlayer();
player.SetYawPitchRoll("180 50 180" );
Print( player.GetYawPitchRoll() );
>> <-180,50,-180>proto native external void SetAngles(vector angles)Same as SetYawPitchRoll, but sets rotation around X, Y and Z axis.
proto native external void SetOrigin(vector orig)Sets origin for entity
origvectororigin to be set
Man player = g_Game.GetPlayer();
player.SetOrigin("2550 10 2900" );
Print( player.GetOrigin() );
>> <2550,10,2900>proto native external float GetScale()proto native external void SetScale(float scale)Transforms local vector to world space
vecvectorlocal space vector to transform
Returns: vector world space vector
Man player = g_Game.GetPlayer();
Print( player.VectorToParent("1 2 3") );
>> <2.89791,2,1.26575>Transforms local position to world space
coordvectorlocal position to transform
Returns: vector position in world space
Man player = g_Game.GetPlayer();
Print( player.CoordToParent("1 2 3") );
>> <2549,17.6478,2857>Transforms world space vector to local space
vecvectorworld space vector to transform
Returns: vector local space vector
Man player = g_Game.GetPlayer();
Print( player.VectorToLocal("2 1 5") );
>> <-0.166849,1,5.38258>Transforms world space position to local space
coordvectorworld space position to transform
Returns: vector position in local space
Man player = g_Game.GetPlayer();
Print( player.CoordToLocal("500 10 155") );
>> <15254,-54.2004,8745.53>proto native int GetID()Return unique entity ID
Returns: int unique entity ID
ItemBase apple = g_Game.CreateObject( "FruitApple", String2Vector("0 10 0"), false );
Print( apple.GetID() );
>> 0proto native void SetID(int id)Set unique entity ID
idintunique entity ID to be set
ItemBase apple = g_Game.CreateObject( "Fruit_Apple", String2Vector("0 10 0"), false );
apple.SetID(101);
Print( apple.GetID() );
>> 101proto native void SetName(string name)proto native external owned string GetName()Adds child entity to this entity.
childIEntityPointer to entity which become our childpivotintPivot is pivot index, or -1 for center of parent.positionOnlyboolWhen set to true, the orientation will still be in WS.
Returns: bool True when entity has been attached. False otherwise.
Show 14 more
, Headtorch_ColorBase.AttachLightOnHead(), Object.AddArrow(), Particle.AddAsChild(), Particle.CreateParticleEffect(), PlayerBase.AddArrow(), PlayerBase.OnParticleEvent(), PlayerBase.SetDecayEffects(), PlayerBase.SpawnBreathVaporEffect(), PlayerBase.SpawnDrowningBubbles(), ScriptedLightBase.AttachOnObject(), ScriptedLightBase.HandleDancingShadows(), SpookyArea23.OnPlayerEnterServer(), UndergroundTriggerCarrier.SpawnTrigger(), and ZombieBase.AddArrow()Removes child entity from hierarchy.
childIEntityPointer to child entity we want to remove.keepTransformboolWhen set to true, Entity is kept on her world position. Otherwise it's local transform is used as world-space one.
Returns: bool True if it was removed, false when this entity is not our child.
proto native external Physics GetPhysics()Show 1 more
, Transport.OnAction()proto native bool IsHierarchyPositionOnly()Returns if the hierarchy component was created with positionOnly
proto native int GetHierarchyPivot()Returns the hierarchy component pivot
proto native IEntity GetParent()Returns pointer to parent Entity in hierarchy
Show 20 more
, DayZPlayerImplement.CameraHandler(), DayZPlayerImplement.EOnContact(), DayZPlayerImplement.GetDebugText(), DayZPlayerImplement.IsInVehicle(), DayZPlayerImplement.TriggerPullPlayerOutOfVehicle(), DeveloperTeleport.GetPlayerRootForTeleporting(), DeveloperTeleport.TeleportAtCursor(), DeveloperTeleport.TeleportAtCursorEx(), EffectParticle.GetCurrentParent(), EntityAI.IsInventoryVisible(), Environment.DetermineHeatcomfortBehavior(), Environment.IsChildOfType(), HandsContainer.OnPerformCombination(), Headtorch_ColorBase.AttachLightOnHead(), HumanCommandVehicle.IsObjectIgnoredOnGettingOut(), Man.IsInTransport(), Particle.StopParticle(), ParticleSource.GetParticleParent(), PlayerBase.OnVehicleSeatDriverEnter(), and ScriptedLightBase.DetachFromParent()Returns local bounding box of model on Entity
- out
mins vectorminimum point of bounding box- out
maxs vectormaximum point of bounding box
Man player = g_Game.GetPlayer();
vector mins, maxs;
player.GetBounds(mins, maxs );
Print( mins );
Print( maxs );
>> <0,0,0>
>> <0,0,0>Returns quantized world-bound-box of Entity
- out
mins vectorminimum point of bounding box- out
maxs vectormaximum point of bounding box
Man player = g_Game.GetPlayer();
vector mins, maxs;
player.GetWorldBounds( mins, maxs );
Print( mins );
Print( maxs );
>> <2547.2,15.5478,2852.85>
>> <2548.8,17.5478,2855.05>proto native external EntityFlags GetFlags()Returns Entity flags
Returns: EntityFlags entity flags
Man player = g_Game.GetPlayer();
Print( player.GetFlags() );
>> 1610612745proto native external bool IsFlagSet(EntityFlags flags)Test if one or more of specified flags are set
Returns: bool True if is set, false otherwise.
Man player = g_Game.GetPlayer();
player.SetFlags(EntityFlags.VISIBLE);
Print( player.IsFlagSet(EntityFlags.VISIBLE) );
>> trueproto native external EntityFlags SetFlags(EntityFlags flags, bool recursively)Sets Entity flags. It's OR operation, not rewrite. Returns previous flags
flagsintflags to be setrecursively- flags will be recursively applied to children of hierarchy too
Returns: int previous flags
Man player = g_Game.GetPlayer();
player.SetFlags(EntityFlags.VISIBLE|EntityFlags.SOLID );
Print( player.GetFlags() );
>> 1610612747proto native external EntityFlags ClearFlags(EntityFlags flags, bool recursively)Clear Entity flags. Returns cleared flags
flagsintflags to be setrecursively- flags will be recursively applied to children of hierarchy too
Returns: int cleared flags
Man player = g_Game.GetPlayer();
player.ClearFlags(EntityFlags.VISIBLE|EntityFlags.SOLID );
Print( player.GetFlags() );
>> 1610612744proto native external EntityEvent GetEventMask()Returns current event mask
Returns: int current event mask
Man player = g_Game.GetPlayer();
Print( player.GetEventMask() );
>> 0proto native external EntityEvent SetEventMask(EntityEvent e)Sets event mask
e- combined mask of one or more members of EntityEvent enum
Man player = g_Game.GetPlayer();
Print( player.GetEventMask() );
player.SetEventMask( EntityEvent.VISIBLE );
Print( player.GetEventMask() );
>> 0
>> 128Show 25 more
, ComponentEntityDebug.DebugBBoxDraw(), ComponentEntityDebug.DebugDirectionDraw(), DayZAnimal.DayZAnimal(), DayZPlayerImplement.DayZPlayerImplement(), DayZSpectator.DayZSpectator(), DynamicArea_Flare.DynamicArea_Flare(), EasterEgg.EasterEgg(), Fireplace.Fireplace(), GardenBase.GardenBase(), HelicopterScript.HelicopterScript(), ItemBase.ItemBase(), Land_Underground_EntranceBase.OnDoorStateChangedClient(), Land_Underground_WaterReservoir.Land_Underground_WaterReservoir(), Particle.ParticleInit(), PlayerBase.Init(), PowerGeneratorBase.PowerGeneratorBase(), PumpkinHelmet.PumpkinHelmet(), RenderTarget.RenderTarget(), ScriptCamera.ScriptCamera(), ScriptedLightBase.ScriptedLightBase(), TestFramework.TestFramework(), TrapTrigger.TrapTrigger(), Trigger.Trigger(), WorldsMenu.WorldsMenu(), and ZombieBase.Init()proto native external EntityEvent ClearEventMask(EntityEvent e)Clears event mask
eintevent mask
Returns: int event mask
Man player = g_Game.GetPlayer();
player.SetEventMask(EntityEvent.VISIBLE );
Print( player.GetEventMask() );
player.ClearEventMask(EntityEvent.ALL );
Print( player.GetEventMask() );
>> 128
>> 0proto external volatile void SendEvent(notnull IEntity actor, EntityEvent e, void extra)Dynamic event invokation. Parameters are the same as in IEntity::EOnXXXX() methods
Sets the visual object to this entity. Reference is added and released upon entity destruction
object- handle to object got by GetObject()
options- String, dependant on object type. //Only supported one for XOB objects: //$remap 'original material name' 'new material'; [$remap 'another original material name' 'anothernew material']
Updates animation (either xob, or particle, whatever)
Updates animation (either xob, or particle, whatever)
Sets visibility mask for cameras, where Entity will be rendered
proto native external void FilterNextTrace()When called, the Entity is excluded from consequent TraceMove/TraceLine
proto native external int Update()Updates entity state/position. Should be called when you want to manually commit position changes etc before trace methods etc. Entity is updated automatically at the end and the beginning of simulation step, when it has EntityFlags.TFL_ACTIVE flag set.
Returns: mask with flags // EntityFlags.UPDATE - hierarchy has been updated // EntityFlags.UPDATE_MDL - model hierarchy has been updated