Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_BaseRadialCommand.c
Go to the documentation of this file.
1 [BaseContainerProps("", "Entry of one command"), SCR_BaseGroupCommandTitleField("m_sCommandName")]
3 {
4  [Attribute("", UIWidgets.EditBox, "Unique name of the command")]
5  protected string m_sCommandName;
6 
7  [Attribute("{2EFEA2AF1F38E7F0}UI/Textures/Icons/icons_wrapperUI-64.imageset", UIWidgets.ResourceNamePicker, "Imageset source for display icon" )]
8  protected ResourceName m_sImageset;
9 
10  [Attribute("", UIWidgets.EditBox, "Name of the icon associated to the command, taken from appropriate imageset set in the radial menu" )]
11  protected string m_sIconName;
12 
13  //------------------------------------------------------------------------------------------------
17  // Returns true if the command was executed succesfully, false otherwise.
18  bool Execute(IEntity cursorTarget, IEntity target, vector targetPosition, int playerID, bool isClient)
19  {
20  return true;
21  }
22 
23  //------------------------------------------------------------------------------------------------
25  string GetIconName()
26  {
27  return m_sIconName;
28  }
29 
30  //------------------------------------------------------------------------------------------------
32  ResourceName GetIconImageset()
33  {
34  return m_sImageset;
35  }
36 
37  //------------------------------------------------------------------------------------------------
39  string GetCommandName()
40  {
41  return m_sCommandName;
42  }
43 
44  //------------------------------------------------------------------------------------------------
46  bool CanRoleShow()
47  {
48  return true;
49  }
50 
51  //------------------------------------------------------------------------------------------------
53  bool CanBeShownInCurrentLifeState()
54  {
55  return true;
56  }
57 
58  //------------------------------------------------------------------------------------------------
60  bool CanBeShown()
61  {
62  return true;
63  }
64 
65  //------------------------------------------------------------------------------------------------
67  bool CanShowOnMap()
68  {
69  return true;
70  }
71 
72  //------------------------------------------------------------------------------------------------
74  bool CanBePerformed()
75  {
76  return true;
77  }
78 }
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_BaseRadialCommand
Definition: SCR_BaseRadialCommand.c:2
SCR_BaseGroupCommandTitleField
Definition: SCR_PlayerCommandsConfig.c:120
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