Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_FreeRoamBuildingClientTriggerEntity.c
Go to the documentation of this file.
1[EntityEditorProps(category: "GameScripted/Building", description: "Defines a building radius (limits the camera range and draw the visual borders)")]
5
7{
10
11 //------------------------------------------------------------------------------------------------
12 override void OnActivate(IEntity ent)
13 {
14 GetOnEntityEnterTrigger().Invoke(ent);
15 }
16
17 //------------------------------------------------------------------------------------------------
19 override void OnDeactivate(IEntity ent)
20 {
21 GetOnEntityLeaveTrigger().Invoke(ent);
22 }
23
24 //------------------------------------------------------------------------------------------------
32
33 //------------------------------------------------------------------------------------------------
41
42 //------------------------------------------------------------------------------------------------
44 {
45 SetEventMask(EntityEvent.INIT | EntityEvent.FRAME);
46 SetFlags(EntityFlags.NO_TREE);
47 }
48};
enum SCR_ECompassType EntityEditorProps(category:"GameScripted/Gadgets", description:"Compass", color:"0 0 255 255")
Prefab data class for compass component.
ScriptInvokerBase< ScriptInvokerEntityMethod > ScriptInvokerEntity
void SCR_FreeRoamBuildingBaseTriggerEntity(IEntitySource src, IEntity parent)
void SCR_FreeRoamBuildingClientTriggerEntity(IEntitySource src, IEntity parent)
override void OnDeactivate(IEntity ent)
Entity leaves the trigger.
EntityEvent
Various entity events.
Definition EntityEvent.c:14
EntityFlags
Various entity flags.
Definition EntityFlags.c:14