class ScriptedEntitySource
ScriptedEntity › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
Derived classes
All members, including inherited
Methods 9
Sets collision properties for object
minsvectorMin values of boxmaxsvectorMax values of boxradiusfloatRadius of bounding sphere
NoteThis function is obsolete, use rather SetCollisionBox()
Sets collision box for object
minsvectorMin values of boxmaxsvectorMax values of box
vector mins = "-1 -1 -1";
vector maxs = "1 1 1";
SetCollisionBox(mins, maxs);Referenced by Trigger.SetExtents()
proto native void SetCollisionSphere(float radius)Sets collision sphere for object
radiusfloatRadius of cylinder
SetCollisionSphere(3);Referenced by SphereTrigger.EOnInit()
Sets collision cylinder for object, representing cylinder from origin(center) up to defined positive height
radiusfloatRadius of cylinderheightfloatHeight of cylinder
SetCollisionCylinder(3, 6);private proto native void SetCollisionCylinderTwoWayNative(float radius, float negativeHeight, float positiveHeight)Sets collision cylinder for object, representing cylinder from origin(center), height can be defined in both directions
radiusfloatRadius of cylindernegativeHeighfloatNegative height of cylinderpositiveHeightfloatPositive height of cylinder
SetCollisionCylinderTwoWay(3, -3, 3);Referenced by SetCollisionCylinderTwoWay()
Input value validated version of SetCollisionCylinderTwoWay
radiusfloatRadius of cylindernegativeHeighfloatNegative height of cylinderpositiveHeightfloatPositive height of cylinder
SetCollisionCylinderTwoWayValidated(3, -3, 3);proto native void SetTriggerShape(TriggerShape shape)Set the TriggerShape to be used, default is TriggerShape.BOX
proto native TriggerShape GetTriggerShape()Get the current TriggerShape
Referenced by Trigger.DrawDebugShape()
override bool IsInventoryVisible()