Skip to content

Effect.SetProperty

Source Code | Usage Examples | Effect Functions

Sets an effect's properties or "flags", which modify its behavior in different ways.

Signature

Effect.SetProperty(Effect e, int flags1, [int flags2]) → nil

lua
e:SetProperty(flags1,flags2)

Parameters

  • Effect e

    The effect to set the fla

  • int flags1

    Composite EffectFlag value of the flags to set. Consult each flag constant to learn what they do.

  • int flags2

    Optional.

    Composite EffectFlag2 value of the additional flags to set. Consult each flag constant to learn what they do.