ScriptEvent:playWorldEffectRotateAlign

From Mod Wiki

Parameters

string name -- Name of the effect to play.
vector color -- RGB components of the color to apply to the effect.
vector origin -- Position in the world to play the effect at.
vector forward -- Direction for the effect to point in.
vector angles -- Angles to rotate the forward vector by.
entity (cannot be null) entity -- Entity to align the other axes with.

Result

None.

Supported By

sdSysCallThread

Functionality

Plays the specified effect at a fixed position in the world, with the forward vector rotated by the given angles, and the other axes aligned towards the specified entity's axes.