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);
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
proto native void RPC(Object target, int rpcType, notnull array< ref Param > params, bool guaranteed, PlayerIdentity recipient=null)
Initiate remote procedure call. When called on client, RPC is evaluated on server; When called on ser...
proto native Mission GetMission()
array< vector > GetArtyFiringPos()
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.
proto native CGame GetGame()
class JsonUndergroundAreaTriggerData GetPosition