43 {
44
45 m_PPERequesterIdx = GetRequesterIndex(m_PPERequesterType);
46
47
49 {
53 vector closestPoint = areaPos;
54
55
57 int index = 0;
58 foreach (
int i,
vector artilleryPoint : artilleryPoints)
59 {
60 int dist = 0;
62 if (temp < dist || dist == 0)
63 {
64 dist = temp;
65 index = i;
66 }
67 }
68
69 closestPoint = artilleryPoints.Get(index);
70
71
75
78
79 params.Insert(pos);
80 g_Game.RPC(null,
ERPCs.RPC_SOUND_ARTILLERY_SINGLE, params,
true);
81
84
86
89 }
90
91 SetSynchDirty();
92 }
const int AIRBORNE_EXPLOSION_DELAY
const int AREA_SETUP_DELAY
const float AIRBORNE_FX_OFFSET
const float ARTILLERY_SHELL_SPEED
enum eAreaDecayStage m_DecayState
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.
static proto native float Distance(vector v1, vector v2)
Returns the distance between tips of two 3D vectors.
vector GetPosition()
Get the world position of the Effect.