Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_CharacterSprintingCondition.c
Go to the documentation of this file.
3{
4 [Attribute("0", UIWidgets.EditBox, "Checks if sprint was toggled rather than checking if the button is being held.")]
5 protected bool m_bCheckPersistentState;
6
7 //------------------------------------------------------------------------------------------------
10 {
11 bool result = data.GetIsCharacterSprinting();
12 result = result && (!m_bCheckPersistentState && data.GetCharacterSprintingTime() != 0 || m_bCheckPersistentState && data.GetCharacterSprintingTime() == 0);
13
14 return GetReturnResult(result);
15 }
16}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Get all prefabs that have the spawner data
A single available action condition representation.
override bool IsAvailable(notnull SCR_AvailableActionsConditionData data)
Returns true if character is sprinting.
SCR_FieldOfViewSettings Attribute