SlashCo Wiki

SlashCo.FillTableWithFogInfo

  SlashCo.FillTableWithFogInfo( table infoTbl, Player ply )

Description

Populates a table with the complete fog information applicable to a player.
The table is initialized with the global fog color and default values before player, team, or global fog settings are applied.
Scaled world color values are calculated after the applicable fog settings are merged.

Arguments

1table infoTbl

Table to populate with fog information

2Player ply

Player whose applicable fog information should be used