Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
arrowmanagerbase.c
Go to the documentation of this file.
2{
3 const int VERSION = 1;
4 protected ref array<EntityAI> m_Arrows;
5
7 {
9 }
10
11 void AddArrow(EntityAI arrow)
12 {
13 m_Arrows.Insert(arrow);
14 }
15
17 {
18 m_Arrows.RemoveItem(arrow);
19 }
20
22 {
23 foreach (EntityAI arrow : m_Arrows)
24 arrow.DeleteSafe();
25
26 m_Arrows.Clear();
27 }
28
29 EntityAI GetArrow(int index)
30 {
31 if (m_Arrows.Count() > index)
32 {
33 return m_Arrows.Get(index);
34 }
35
36 return null;
37 }
38
39}
ref array< EntityAI > m_Arrows
void RemoveArrow(EntityAI arrow)
EntityAI GetArrow(int index)
void AddArrow(EntityAI arrow)
Result for an object found in CGame.IsBoxCollidingGeometryProxy.