Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkDamageContextConditionProjectilePrefab.c
Go to the documentation of this file.
3{
4 [Attribute(defvalue: "", desc: "Projectile Prefab Name", uiwidget: UIWidgets.ResourcePickerThumbnail, params: "et")]
5 ResourceName m_sProjectilePrefabName;
6
7 //------------------------------------------------------------------------------------------------
8 override bool ConditionCheck(BaseDamageContext damageContext)
9 {
10 IEntity damageSource = damageContext.damageSource;
11 if (!damageSource)
12 return false;
13
14 EntityPrefabData prefabData = damageSource.GetPrefabData();
15 return prefabData && prefabData.GetPrefabName() == m_sProjectilePrefabName;
16 }
17}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
proto external EntityPrefabData GetPrefabData()
SCR_FieldOfViewSettings Attribute