Description
Creates an in-world beam effect entity. This effect entity will persist until destroyed. To obtain a reference to this entity, use the Last Created Entity value. This action will fail if too many entities have been created.
Snippet
Create Beam Effect(All Players(All Teams), Good Beam, Event Player, Event Player, Color(White), Visible To Position And Radius);
Properties
Returns: Void
Parameters: Visible To, Type, Start Position, End Position, Color, Reevaluation
Visible To
Type: Player | Array (Player), Default: All Players
One or more players who will be able to see the effect.Type
Type: Beam, Default: Good Beam
The type of effect to be created.Start Position
Type: Position, Default: Event Player
The effect's start position. If this value is a player, then the effect will move along with the player. Otherwise, the value is interpreted as a position in the world.End Position
Type: Position, Default: Event Player
The effect's end position. If this value is a player, then the effect will move along with the player. Otherwise, the value is interpreted as a position in the world.Color
Type: Color, Default: Color
The color of the beam to be created. If a particular team is chosen, the effect will either be red or blue, depending on whether the team is hostile to the viewer. Does not apply to sound effects. Only the "good" and "bad" beam effects can have color applied.Reevaluation
Type: Effect Reevaluation, Default: Visible To Position And Radius
Specifies which of this action's inputs will be continuously reevaluated. The effect will keep asking for and using new values from reevaluated inputs.