Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
spheretrigger.c
Go to the documentation of this file.
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 };
SphereTrigger
Trigger with spherical shape.
Definition: spheretrigger.c:2
DrawDebugShape
void DrawDebugShape()
Definition: bleedingsource.c:171
IEntity
Definition: enentity.c:164
vector
Definition: enconvert.c:105
Trigger
Scripted Trigger.
Definition: hologram.c:1573
SetCollisionSphere
proto native void SetCollisionSphere(float radius)
Sets collision sphere for object.
ShapeFlags
ShapeFlags
Definition: endebug.c:125
Debug
Definition: debug.c:13
Shape
class DiagMenu Shape
don't call destructor directly. Use Destroy() instead