Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_SpawnPointAreaMeshComponent.c
Go to the documentation of this file.
1[ComponentEditorProps(category: "GameScripted/Area Mesh", description: "")]
5
6class SCR_SpawnPointAreaMeshComponent : SCR_BaseAreaMeshComponent
7{
8 //------------------------------------------------------------------------------------------------
9 override float GetRadius()
10 {
11 SCR_SpawnPoint spawnPoint = SCR_SpawnPoint.Cast(GetOwner());
12 return spawnPoint.GetSpawnRadius();
13 }
14
15 //------------------------------------------------------------------------------------------------
16 override void EOnInit(IEntity owner)
17 {
18 if (!owner.IsInherited(SCR_SpawnPoint))
19 {
20 Debug.Error2("SCR_SpawnPointAreaMeshComponent", "Component must be attached to SCR_SpawnPoint!");
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
Spawn point entity defines positions on which players can possibly spawn.
IEntity GetOwner()
Owner entity of the fuel tank.
override void EOnInit(IEntity owner)