Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
entity.c
Go to the documentation of this file.
1
class
Entity
extends
ObjectTyped
2
{
3
proto native
void
DisableSimulation
(
bool
disable);
4
6
proto native
bool
GetIsSimulationDisabled
();
7
9
proto native
int
GetSimulationTimeStamp
();
10
12
proto native
float
GetAnimationPhase
(
string
animation);
13
15
proto native
void
SetAnimationPhase
(
string
animation,
float
phase);
16
17
proto
int
GetNumUserAnimationSourceNames
();
18
19
proto
string
GetUserAnimationSourceName
(
int
index);
20
22
void
SetAnimationPhaseNow
(
string
animation,
float
phase)
23
{
24
ResetAnimationPhase
(animation, phase);
25
SetAnimationPhase
(animation, phase);
26
}
27
28
proto native
void
ResetAnimationPhase
(
string
animation,
float
phase);
29
33
void
OnAnimationPhaseStarted
(
string
animSource,
float
phase);
34
36
proto native
int
GetBoneIndex
(
string
proxySelectionName );
37
39
proto native
Object
GetBoneObject
(
int
boneIndex );
40
42
proto native
void
SetInvisible
(
bool
invisible);
43
45
void
OnInvisibleSet
(
bool
invisible);
52
proto
void
MoveInTime
(
vector
targetTransform[4],
float
deltaT);
53
57
void
OnCreatePhysics
();
58
65
bool
OnNetworkTransformUpdate
(out
vector
pos, out
vector
ypr);
66
};
Entity
Definition
camera.c:2
ObjectTyped
Definition
entity.c:2
ObjectTyped::GetBoneIndex
proto native int GetBoneIndex(string proxySelectionName)
Returns skeleton's bone index of named proxy selection.
ObjectTyped::GetIsSimulationDisabled
proto native bool GetIsSimulationDisabled()
Returns whether simulation is disabled.
ObjectTyped::OnAnimationPhaseStarted
void OnAnimationPhaseStarted(string animSource, float phase)
callback called from C++ when AnimationPhase has started
ObjectTyped::SetAnimationPhase
proto native void SetAnimationPhase(string animation, float phase)
Process animation on object. Animation is defined in config file. Wanted animation phase is set to ph...
ObjectTyped::SetAnimationPhaseNow
void SetAnimationPhaseNow(string animation, float phase)
Same as SetAnimationPhase, only ignores any animation and sets the phase immediately.
Definition
entity.c:22
ObjectTyped::OnCreatePhysics
void OnCreatePhysics()
callback called when entity is moved to world and creating its physics representation
ObjectTyped::GetUserAnimationSourceName
proto string GetUserAnimationSourceName(int index)
ObjectTyped::GetNumUserAnimationSourceNames
proto int GetNumUserAnimationSourceNames()
ObjectTyped::SetInvisible
proto native void SetInvisible(bool invisible)
Turns on/off invisibility.
ObjectTyped::GetSimulationTimeStamp
proto native int GetSimulationTimeStamp()
Returns simulation timestamp.
ObjectTyped::OnNetworkTransformUpdate
bool OnNetworkTransformUpdate(out vector pos, out vector ypr)
Client event on transformation update from network.
ObjectTyped::ResetAnimationPhase
proto native void ResetAnimationPhase(string animation, float phase)
ObjectTyped::OnInvisibleSet
void OnInvisibleSet(bool invisible)
event
ObjectTyped::GetBoneObject
proto native Object GetBoneObject(int boneIndex)
Returns proxy object that corresponds given bone inside skeleton.
ObjectTyped::GetAnimationPhase
proto native float GetAnimationPhase(string animation)
Return animation phase of animation on object.
ObjectTyped::MoveInTime
proto void MoveInTime(vector targetTransform[4], float deltaT)
On server, entity's transformation is directly changed to targetTransform, on client entity's transfo...
ObjectTyped::DisableSimulation
proto native void DisableSimulation(bool disable)
vector
Definition
enconvert.c:119
Object
class LOD Object
Games
Dayz
scripts
3_game
entities
entity.c
Generated by
1.17.0