Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkActionStopAnimation.c
Go to the documentation of this file.
1
[
BaseContainerProps
(),
SCR_ContainerActionTitle
()]
2
class
SCR_ScenarioFrameworkActionStopAnimation
:
SCR_ScenarioFrameworkActionBase
3
{
4
[
Attribute
(
desc
:
"Entity to play animation on"
)]
5
ref
SCR_ScenarioFrameworkGet
m_ActorGetter;
6
7
[
Attribute
(
"false"
,
UIWidgets
.Auto)]
8
bool
m_bFast;
9
10
//------------------------------------------------------------------------------------------------
11
override
void
OnActivate
(
IEntity
object
)
12
{
13
if
(!CanActivate())
14
return
;
15
16
IEntity
entity;
17
if
(!ValidateInputEntity(
object
, m_ActorGetter, entity))
18
return
;
19
20
SCR_ChimeraCharacter character = SCR_ChimeraCharacter.Cast(entity);
21
if
(!character)
22
return
;
23
24
SCR_CharacterControllerComponent
controller =
SCR_CharacterControllerComponent
.Cast(character.GetCharacterController());
25
if
(!controller)
26
return
;
27
28
controller.
StopLoitering
(m_bFast);
29
}
30
}
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
OnActivate
override void OnActivate()
Definition
SCR_CharacterCommandLoiter.c:31
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
IEntity
Definition
IEntity.c:13
SCR_CharacterControllerComponent
Definition
SCR_CharacterControllerComponent.c:36
SCR_CharacterControllerComponent::StopLoitering
void StopLoitering(bool terminateFast)
Definition
SCR_CharacterControllerComponent.c:1634
SCR_ContainerActionTitle
Definition
SCR_ContainerActionTitle.c:2
SCR_ScenarioFrameworkActionBase
Definition
SCR_ScenarioFrameworkActionBase.c:3
SCR_ScenarioFrameworkActionStopAnimation
Definition
SCR_ScenarioFrameworkActionStopAnimation.c:3
SCR_ScenarioFrameworkGet
Definition
SCR_ScenarioFrameworkGet.c:3
UIWidgets
Definition
attributes.c:40
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
ScenarioFramework
Actions
SCR_ScenarioFrameworkActionStopAnimation.c
Generated by
1.17.0