Create visual effects [Obsoleto]

STD Library
Obsoleto
Tanto lado del cliente como del usuario
Disponible en PC y móvil

Create an icon using the specified special effect type. If there are more properties that need to be set, further set its entity properties through the entity.

Declaración

func CreateEffect_Deprecated(out var createdEntity entity<Effect>, owner entity<Player>, effectType VFXType)
go

Parámetros

Entrada

Nombre Tipo Descripción
Player Player The player entity it belongs to, only visible to that player
Visual effects EffectType Special effect type, the type of special effect that players can choose

Afuera

Nombre Tipo Descripción
Visual effects entity EffectEntity In the code, it is used to indicate the name of the parameter for creating a special effect entity. The corresponding local variable value is the entity that creates the special effect.