1 [
EntityEditorProps(
category:
"GameScripted/CleanSweep", description:
"This is clean sweep area entity.", color:
"0 0 255 255")]
9 [
Attribute(
"400", UIWidgets.EditBox,
"How many groups are spawned in the location")]
12 [
Attribute(
"0", UIWidgets.CheckBox,
"Can this location be selected in the mission")]
15 static ref array<SCR_CleanSweepArea> s_aInstances =
new array<SCR_CleanSweepArea>;
18 override void _WB_AfterWorldUpdate(
float timeSlice)
21 const int alpha = 128;
23 color = ARGB(alpha,0,255,0);
25 color = ARGB(alpha,0, 0, 0);
27 ref
auto pShape = Shape.CreateSphere(color, ShapeFlags.ONCE | ShapeFlags.DOUBLESIDE | ShapeFlags.TRANSP,
GetOrigin(), m_Range);
34 s_aInstances.Insert(
this);
40 s_aInstances.RemoveItem(
this);