Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

SetScope(player: NetworkPlayer, relevancy: bool): bool;
bool SetScope(NetworkPlayer player, bool relevancy);
def SetScope(player as NetworkPlayer, relevancy as bool) as bool

Description

Set the scope of the network view in relation to a specific network player.

This can be used to implement relevant sets. Either set it to true or false depending on if you want the player to receive updates from the network view or not.