Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
spheretrigger.c
Go to the documentation of this file.
1
3{
4 override void EOnInit(IEntity other, int extra)
5 {
7 }
8
9#ifdef DEVELOPER
10 override protected Shape DrawDebugShape(vector pos, vector min, vector max, float radius, int color)
11 {
12 Shape dbgShape = Debug.DrawSphere(pos, radius, color, ShapeFlags.TRANSP|ShapeFlags.NOZWRITE|ShapeFlags.NOOUTLINE|ShapeFlags.DOUBLESIDE);
13 dbgTargets.Insert( dbgShape );
14 return dbgShape;
15 }
16#endif
17};
void DrawDebugShape()
Definition debug.c:2
static Shape DrawSphere(vector pos, float size=1, int color=0x1fff7f7f, ShapeFlags flags=ShapeFlags.TRANSP|ShapeFlags.NOOUTLINE)
Definition debug.c:382
Internal ancestor of all Entity implementations.
Definition enentity.c:165
proto native void SetCollisionSphere(float radius)
Sets collision sphere for object.
Trigger with spherical shape.
override void EOnInit(IEntity other, int extra)
void Trigger()
ctor
Definition trigger.c:53
ShapeFlags
Definition endebug.c:126
class DiagMenu Shape
Instance of created debug visualizer.