Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_RespawnTicketsEditorAttribute.c
Go to the documentation of this file.
1
[
BaseContainerProps
(),
SCR_BaseEditorAttributeCustomTitle
()]
2
class
SCR_RespawnTicketsEditorAttribute
:
SCR_BaseValueListEditorAttribute
3
{
4
override
SCR_BaseEditorAttributeVar
ReadVariable(Managed item, SCR_AttributesManagerEditorComponent manager)
5
{
6
//If opened in global attributes
7
if
(!IsGameMode(item))
return
null
;
8
9
#ifndef WORKBENCH
10
return
null
;
11
#endif
12
return
SCR_BaseEditorAttributeVar
.CreateFloat(10);
13
14
}
15
override
void
WriteVariable(Managed item,
SCR_BaseEditorAttributeVar
var, SCR_AttributesManagerEditorComponent manager,
int
playerID)
16
{
17
//TODO: implement logics
18
if
(!var)
return
;
19
20
Print(
"Respawn Tickets: "
+ var.GetFloat());
21
}
22
};
SCR_RespawnTicketsEditorAttribute
Definition:
SCR_RespawnTicketsEditorAttribute.c:2
SCR_BaseEditorAttributeCustomTitle
Definition:
SCR_BaseEditorAttribute.c:868
SCR_BaseEditorAttributeVar
Definition:
SCR_BaseEditorAttributeVar.c:1
SCR_BaseValueListEditorAttribute
Definition:
SCR_BaseValueListEditorAttribute.c:5
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition:
SCR_AIGoalReaction.c:468
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Editor
Containers
Attributes
SCR_RespawnTicketsEditorAttribute.c
Generated by
1.8.17