DayZ 1.24
|
Go to the source code of this file.
Enumerations | |
enum | TriggerShape |
Functions | |
enum TriggerShape | SetClippingInfo (vector mins, vector maxs, float radius) |
Sets collision properties for object. | |
proto native void | SetCollisionBox (vector mins, vector maxs) |
Sets collision box for object. | |
proto native void | SetCollisionSphere (float radius) |
Sets collision sphere for object. | |
proto native void | SetCollisionCylinder (float radius, float height) |
Sets collision cylinder for object. | |
proto native void | SetTriggerShape (TriggerShape shape) |
Set the TriggerShape to be used, default is TriggerShape.BOX. | |
proto native TriggerShape | GetTriggerShape () |
Get the current TriggerShape. | |
override bool | IsInventoryVisible () |
Variables | |
BOX | |
SPHERE | |
CYLINDER | |
Definition at line 1 of file ScriptedEntity.c.
proto native TriggerShape GetTriggerShape | ( | ) |
Get the current TriggerShape.
Definition at line 62 of file ScriptedEntity.c.
enum TriggerShape SetClippingInfo | ( | vector | mins, |
vector | maxs, | ||
float | radius ) |
Sets collision properties for object.
mins | vector Min values of box |
maxs | vector Max values of box |
radius | float Radius of bounding sphere |
Sets collision box for object.
mins | vector Min values of box |
maxs | vector Max values of box |
Referenced by Trigger::SetExtents().
Sets collision cylinder for object.
radius | float Radius of cylinder |
height | float Height of cylinder |
Referenced by CylinderTrigger::EOnInit().
Sets collision sphere for object.
radius | float Radius of cylinder |
Referenced by SphereTrigger::EOnInit().
proto native void SetTriggerShape | ( | TriggerShape | shape | ) |
Set the TriggerShape to be used, default is TriggerShape.BOX.
@ BOX |
Definition at line 0 of file ScriptedEntity.c.
@ CYLINDER |
Definition at line 2 of file ScriptedEntity.c.
@ SPHERE |
Definition at line 1 of file ScriptedEntity.c.