Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkActionSetEntityScale.c
Go to the documentation of this file.
3{
4 [Attribute(desc: "Entity to be scaled.")]
5 ref SCR_ScenarioFrameworkGet m_EntityGetter;
6
7 [Attribute(defvalue: "1", desc: "Scale of the entity, where 1 is default size.")]
8 float m_fEntityScale;
9
10 //------------------------------------------------------------------------------------------------
11 override void OnActivate(IEntity object)
12 {
13 if (!CanActivate())
14 return;
15
16 IEntity entity;
17 if (!ValidateInputEntity(object, m_EntityGetter, entity))
18 return;
19
20 entity.SetScale(m_fEntityScale);
21 }
22}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
override void OnActivate()
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
proto external void SetScale(float scale)
SCR_FieldOfViewSettings Attribute