Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_SpawnAtRadioVehicleAttribute.c
Go to the documentation of this file.
3{
4 //------------------------------------------------------------------------------------------------
5 override SCR_BaseEditorAttributeVar ReadVariable(Managed item, SCR_AttributesManagerEditorComponent manager)
6 {
7 return null;
8
9 BaseGameMode gameMode = BaseGameMode.Cast(item);
10 if (!gameMode)
11 return null;
12
14 if (!playerSpawnPointManager)
15 return null;
16
18 }
19
20 //------------------------------------------------------------------------------------------------
21 override void WriteVariable(Managed item, SCR_BaseEditorAttributeVar var, SCR_AttributesManagerEditorComponent manager, int playerID)
22 {
23 if (!var)
24 return;
25
26 BaseGameMode gameMode = BaseGameMode.Cast(item);
27 if (!gameMode)
28 return;
29
31 if (!playerSpawnPointManager)
32 return;
33
34 playerSpawnPointManager.EnableRadioVehicleSpawning(var.GetBool(), playerID);
35 }
36};
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Base Attribute Script for other attributes to inherent from to get and set varriables in Editor Attri...
static SCR_BaseEditorAttributeVar CreateBool(bool value)
void EnableRadioVehicleSpawning(bool enable, int notificationPlayerID=-1)