Summary

public bool SetEffect(string effectName, bool stopPrevious)

Activate block effect listed in definition

Returns

bool

if effect was started;otherwise

Parameters

Summary

public bool SetEffect(string effectName, float parameter, bool stopPrevious, bool ignoreParameter, bool removeSameNameEffects)

Activate block effect with parameters listed in definition See: Sandbox.Definitions.CubeBlockEffectBase

Returns

bool

if effect was started;otherwise

Parameters