Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ArsenalComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_ArsenalComponentClass
class  SCR_ArsenalComponent

Typedefs

typedef func ScriptInvokerArsenalUpdatedMethod
typedef ScriptInvokerBase< ScriptInvokerArsenalUpdatedMethodScriptInvokerArsenalUpdated

Functions

SCR_ArsenalComponentClass ScriptComponentClass ScriptInvokerArsenalUpdatedMethod (array< ResourceName > arsenalItems)

Variables

SCR_ArsenalComponent SAVING_DISABLED = 0
 Saving is disabled.
SCR_ArsenalComponent IN_ARSENAL_ITEMS_ONLY = 10
 Only allows arsenal saving if all the items the player has are in the arsenal.
SCR_ArsenalComponent FACTION_ITEMS_ONLY = 20
 Only allow saving if items the player has are items of the player faction.
SCR_ArsenalComponent FRIENDLY_AND_FACTION_ITEMS_ONLY = 21
 Only allow saving if items the player has are items of the player faction or from a faction friendly to the faction.
SCR_ArsenalComponent NO_RESTRICTIONS = 30
 Always allow saving of arsenal.
SCR_ArsenalComponent DEFAULT = 30
 Default cost will be used.
SCR_ArsenalComponent GADGET_ARSENAL = 30
 If the arsenal is on a gadget it will try to take this cost if any is assigned in the catalog.
SCR_ArsenalComponent RESPAWN_COST = 30
 Cost of item when the player spawns with the item.

Typedef Documentation

◆ ScriptInvokerArsenalUpdated

Definition at line 7 of file SCR_ArsenalComponent.c.

◆ ScriptInvokerArsenalUpdatedMethod

Definition at line 6 of file SCR_ArsenalComponent.c.

Function Documentation

◆ ScriptInvokerArsenalUpdatedMethod()

Variable Documentation

◆ DEFAULT

SCR_ArsenalComponent DEFAULT = 30

Default cost will be used.

◆ FACTION_ITEMS_ONLY

SCR_ArsenalComponent FACTION_ITEMS_ONLY = 20

Only allow saving if items the player has are items of the player faction.

◆ FRIENDLY_AND_FACTION_ITEMS_ONLY

SCR_ArsenalComponent FRIENDLY_AND_FACTION_ITEMS_ONLY = 21

Only allow saving if items the player has are items of the player faction or from a faction friendly to the faction.

◆ GADGET_ARSENAL

SCR_ArsenalComponent GADGET_ARSENAL = 30

If the arsenal is on a gadget it will try to take this cost if any is assigned in the catalog.

◆ IN_ARSENAL_ITEMS_ONLY

SCR_ArsenalComponent IN_ARSENAL_ITEMS_ONLY = 10

Only allows arsenal saving if all the items the player has are in the arsenal.

◆ NO_RESTRICTIONS

SCR_ArsenalComponent NO_RESTRICTIONS = 30

Always allow saving of arsenal.

◆ RESPAWN_COST

SCR_ArsenalComponent RESPAWN_COST = 30

Cost of item when the player spawns with the item.

◆ SAVING_DISABLED

SCR_ArsenalComponent SAVING_DISABLED = 0

Saving is disabled.