Skip to content

Behavior_PlayerEffectSpawner

This Behavior_PlayerEffectSpawner community component lets you configure the visual effects on the players. The effects can be shown when the players are hurt, collided, or enter a trigger.

Field Description
Condition Indicates the condition on which the effect is triggered:
  • On Hurting Player means the effect is played when the player hurt other players.
  • On Entering Trigger means the effect is played when the player enters a trigger box.
  • On Collision means the effect is played when the player collides with another object.
  • On Custom Event means the effect is played when the SpawnEffectRequest event occurs.
  • On Any Player Being Hurted means the effect is played when any player in the game is hurt. You can attach this component to the GameManager object when you choose On Any Player Being Hurted.
Name The name of the effect
Duration The time during which the effect is played
Offset Indicates the offset from the base position
Is Follow Determines if the effect follows the player

This component must be used together with Behavior_SpawnableObjectMaker, which marks the position where the effect is spawned.