Declaration
func CreateEffect(out var createdEntity entity<Effect>, target entity<Player>, resource VFXType, loopType LoopType, autoPlay bool)
go
Parameters
Input
Name | Type | Description |
---|---|---|
Target | Player | Target player, only visible to the target player |
Resource | EffectType | Effect type |
Loop Type | AnimationOverrideLoopType | Loop type |
Auto Play | Bool | Play immediately |
Out
Name | Type | Description |
---|---|---|
Created Entity | EffectEntity | Created special effects entity |