Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
scriptedentity.c
Go to the documentation of this file.
2 {
3  BOX,
5  CYLINDER,
6 }
7 
8 class ScriptedEntity extends EntityAI
9 {
17  proto native void SetClippingInfo(vector mins, vector maxs, float radius);
18 
31  proto native void SetCollisionBox(vector mins, vector maxs);
32 
42  proto native void SetCollisionSphere(float radius);
43 
54  proto native void SetCollisionCylinder(float radius, float height);
55 
57  proto native void SetTriggerShape(TriggerShape shape);
58 
60  proto native TriggerShape GetTriggerShape();
61 
62  override bool IsInventoryVisible()
63  {
64  return false;
65  }
66 };
CYLINDER
CYLINDER
Definition: scriptedentity.c:4
SetClippingInfo
enum TriggerShape SetClippingInfo(vector mins, vector maxs, float radius)
Sets collision properties for object.
SetTriggerShape
proto native void SetTriggerShape(TriggerShape shape)
Set the TriggerShape to be used, default is TriggerShape.BOX.
SetCollisionCylinder
proto native void SetCollisionCylinder(float radius, float height)
Sets collision cylinder for object.
SetCollisionBox
proto native void SetCollisionBox(vector mins, vector maxs)
Sets collision box for object.
ScriptedEntity
Definition: triggercarrierbase.c:1
SPHERE
SPHERE
Definition: scriptedentity.c:3
vector
Definition: enconvert.c:105
SetCollisionSphere
proto native void SetCollisionSphere(float radius)
Sets collision sphere for object.
BOX
BOX
Definition: scriptedentity.c:2
IsInventoryVisible
override bool IsInventoryVisible()
Definition: scriptedentity.c:62
GetTriggerShape
proto native TriggerShape GetTriggerShape()
Get the current TriggerShape.
TriggerShape
TriggerShape
Definition: scriptedentity.c:1
EntityAI
Definition: building.c:5