Skip to content

Play Effect

Description

Plays an effect at a position in the world. The lifetime of this effect is short, so it does not need to be updated or destroyed.

Effects created with this action do not count towards the Create Effect limit of 128. You can have as many Play Effect effects active as you want.

==For a visual list of all effects check out the Effects Reference Sheet==

Snippet

Play Effect(All Players(All Teams), Good Explosion, Color(White), Vector(0, 0, 0), 1);

Properties

Returns: Void Parameters: ==Visible To==, ==Type==, ==Color==, ==Position==, ==Radius==

==Visible To== Type: Player | Array (Player), Default: All Players One or more players who will be able to see the effect.

==Type== Type: DynamicEffect, Default: Good Explosion The type of effect to be created.

==Color== Type: Color, Default: Color The color of the effect 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 support Custom Color.

==Position== Type: Position, Default: Vector The effect’s position. If this value is a player, then the effect will play at the player’s position. Otherwise, the value is interpreted as a position in the world.

==Radius== Type: Float, Default: Number (1) The effect’s radius in meters.

Type to search…

↑↓ navigate↵ selectEsc close