Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_WaypointAreaMeshComponent.c
Go to the documentation of this file.
1[ComponentEditorProps(category: "GameScripted/Area Mesh", description: "")]
5
6class SCR_WaypointAreaMeshComponent : SCR_BaseAreaMeshComponent
7{
8 //------------------------------------------------------------------------------------------------
9 override float GetRadius()
10 {
11 AIWaypoint waypoint = AIWaypoint.Cast(GetOwner());
12 return waypoint.GetCompletionRadius();
13 }
14
15 //------------------------------------------------------------------------------------------------
16 override void EOnInit(IEntity owner)
17 {
18 if (!owner.IsInherited(AIWaypoint))
19 {
20 Debug.Error2("SCR_WaypointAreaMeshComponent", "Component must be attached to AIWaypoint!");
21 return;
22 }
23
25 }
26}
enum EAIGroupCombatMode ComponentEditorProps(category:"GameScripted/AI", description:"Component for utility AI system for groups")
void GenerateAreaMesh()
Generate area mesh based on its settings.
Definition Debug.c:13
IEntity GetOwner()
Owner entity of the fuel tank.
override void EOnInit(IEntity owner)