Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
ItemUseParameters.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
16 {
17  // Item which will be used.
18  proto external IEntity GetEntity();
19  proto external void SetEntity(IEntity entity);
20  // Should character be allowed to use movement input while action is being performed. Bool in script has size of enf::uint, not bool.
21  proto external bool ShouldAllowMovementDuringAction();
22  proto external void SetAllowMovementDuringAction(bool allowed);
23  // Should we hide the item after the action is successfully performed? If action is cancelled, item is always left in hand (unless it's cancelled by a different action that hides the item).
24  proto external bool ShouldKeepInHandAfterSuccess();
25  proto external void SetKeepInHandAfterSuccess(bool keep);
26  // ID of the command that should be called, can be found using BindCommand() from the item's animation component.
27  proto external int GetCommandID();
28  proto external void SetCommandID(int cmdID);
29  // The first int argument of the called command.
30  proto external int GetCommandIntArg();
31  proto external void SetCommandIntArg(int cmdIntArg);
32  // The float argument of the called command.
33  proto external float GetCommandFloatArg();
34  proto external void SetCommandFloatArg(float cmdFloatArg);
35  // Maximum length of item use after which we will call m_CmdId with int argument = -1 - this is used to stop looping animations by starting the Out animation. If animation is not supposed to be looping, use larger time frame than expected length of the animation.
36  proto external float GetMaxAnimLength();
37  proto external void SetMaxAnimLength(float maxAnimLength);
38  // Currently sets the BodyPart variable for healing items.
39  proto external int GetIntParam();
40  proto external void SetIntParam(int intParam);
41  // Alignment point to which RHandProp bone on character will be aligned during the animation.
42  proto external PointInfo GetAlignmentPoint();
43  proto external void SetAlignmentPoint(PointInfo pointWS);
44  // Node in the item graph through which it will be bound to the character's graph.
45  proto external int GetItemGraphEntryPoint();
46  // Only call SetItemGraphEntryPoint after the entity has already been set, so that the graph entry point can be determined.
47  proto external void SetItemGraphEntryPoint(string itemGraphEntryPoint);
48  // Binding name in the character graph to which the Item Entry Node will be attached.
49  proto external string GetCharGraphBindingName();
50  proto external void SetCharGraphBindingName(string charGraphBindingName);
51  // Clean up the params.
52  proto external void Reset();
53 }
54 
ItemUseParameters
Definition: ItemUseParameters.c:15