File size: 1,120 Bytes
24b81cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
class AIGroupBehaviour : Managed
{
	private void AIGroupBehaviour();
	private void ~AIGroupBehaviour();
}

class BehaviourGroupInfectedPackWaypointParams
{
	vector m_CenterPosition;
	float m_Radius;
	
	void BehaviourGroupInfectedPackWaypointParams(vector pos, float radius)
	{
		m_CenterPosition = pos;
		m_Radius = radius;
	}
}

class BehaviourGroupInfectedPack : AIGroupBehaviour
{
	/*!
	Group waypoints initialization
	/param 	[in] 	waypointDefaultIndex 		Starting waypoint. Index to array of waypoints specified by waypointParams. Acceptable range is [0, waypointParams.Count() - 1]
	/param 	[in]	forwardDirection			Waypoints traverse order.
	/param 	[in]	loop						Specifies what happens after last waypoint is reached. true - cycle waypoints, false - patrol waypoints
	*/
	proto native void SetWaypoints(array<ref BehaviourGroupInfectedPackWaypointParams> waypointParams, int waypointDefaultIndex, bool forwardDirection, bool loop);

	proto native void SetWaypointsTraverseDirection(bool forwardDirection);
	proto native void SetWaypointsLoop(bool loop);
	proto native void SetCurrentWaypoint(int waypointIndex);
}