SlashCo Wiki

FogInfo

FogInfo

Description

Table structure used for SlashCo.AddFog

Parameters

string name

Name used to identify the fog entry. Player and team fog entries automatically have a suffix appended to this name.

number fogType

Type of fog. Use one of the values from SlashCo.FogType.

number priority (Optional)

Priority of the fog entry. Higher priority entries take precedence over lower priority entries.

Default: 0

number multiplier (Optional)

Multiplier applied to the fog start and end distances.

number worldColorR (Optional)

Red component of the fog's world color.

number worldColorG (Optional)

Green component of the fog's world color.

number worldColorB (Optional)

Blue component of the fog's world color.

number worldColorScaleR (Optional)

Multiplier applied to the red component of the world color.

number worldColorScaleG (Optional)

Multiplier applied to the green component of the world color.

number worldColorScaleB (Optional)

Multiplier applied to the blue component of the world color.

Entity entity (Optional)

Player entity targeted by player-specific fog. Required when FogInfo.fogType is SlashCo.FogType.SlashCo.FogType.PLAYER.

number team (Optional)

Team targeted by team-specific fog. Required when FogInfo.fogType is SlashCo.FogType.SlashCo.FogType.TEAM.