# Triggering Effect Source Behavior
Flags —
Native
|Function
Returns — string
<gamelink::Behavior>
native string EventPlayerEffectUsedSourceBehavior();
# Supported triggers
- Effect Used — TriggerAddEventPlayerEffectUsed
# Related
Category: Environment / Effects
- Create Explosion At Point —
void
— libNtve_gf_CreateExplosionAtPoint - Create Effect At Point (From Player) —
void
— PlayerCreateEffectPoint - Create Effect On Unit (From Player) —
void
— PlayerCreateEffectUnit - Create Effect At Point (From Unit) —
void
— UnitCreateEffectPoint - Create Effect On Unit (From Unit) —
void
— UnitCreateEffectUnit - Damage Unit (From Unit) —
void
— UnitDamage - Player Can Create Effect At Point —
bool
— libNtve_gf_PlayerCanCreateEffectAtPoint - Player Can Create Effect On Unit —
bool
— libNtve_gf_PlayerCanCreateEffectOnUnit - Unit Can Create Effect At Point —
bool
— libNtve_gf_UnitCanCreateEffectAtPoint - Unit Can Create Effect On Unit —
bool
— libNtve_gf_UnitCanCreateEffectOnUnit - Destroy Effects —
void
— GameDestroyEffects - Effect Used —
void
— TriggerAddEventPlayerEffectUsed - Effect Used From Scope —
void
— TriggerAddEventPlayerEffectUsedFromScope - Triggering Effect Used —
string
<gamelink::Effect> — EventPlayerEffectUsed - Triggering Effect Point —
point
— EventPlayerEffectUsedPoint - Triggering Effect Unit —
unit
— EventPlayerEffectUsedUnit - Triggering Effect Item —
unit
— EventPlayerEffectUsedItem - Triggering Effect Impact Unit —
unit
— EventPlayerEffectUsedUnitImpact - Triggering Effect Launch Unit —
unit
— EventPlayerEffectUsedUnitLaunch - Triggering Effect Unit Owner —
int
— EventPlayerEffectUsedUnitOwner - Triggering Effect Unit Type —
string
<gamelink::Unit> — EventPlayerEffectUsedUnitType - Triggering Effect Item Type —
string
<gamelink::Unit> — EventPlayerEffectUsedItemType - Triggering Effect Amount (Integer) —
int
— EventPlayerEffectUsedAmountInt - Triggering Effect Amount (Real) —
fixed
— EventPlayerEffectUsedAmountFixed - Triggering Effect Source Behavior —
string
<gamelink::Behavior> — EventPlayerEffectUsedSourceBehavior - Triggering Effect Weapon —
string
<gamelink::Weapon> — EventPlayerEffectUsedWeapon - Triggering Effect Ability —
string
<gamelink::Abil> — EventPlayerEffectUsedAbil
# Examples
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:5784
lv_effect = EventPlayerEffectUsed();
if ((lv_effect != null)) {
lv_behavior = EventPlayerEffectUsedSourceBehavior();
if ((lv_behavior != null)) {
lv_periodicEffectCount = CatalogFieldValueCount(c_gameCatalogBehavior, lv_behavior, "PeriodicDisplayEffect", c_playerAny);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:5784
lv_effect = EventPlayerEffectUsed();
if ((lv_effect != null)) {
lv_behavior = EventPlayerEffectUsedSourceBehavior();
if ((lv_behavior != null)) {
lv_periodicEffectCount = CatalogFieldValueCount(c_gameCatalogBehavior, lv_behavior, "PeriodicDisplayEffect", c_playerAny);