Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:2.12

Description

Description:

Defines whether a specific scene property is synchronized through the network.

Be aware that even if the property is synchronized, weather conditions are not updated instantly, but may take up to a minute for the update to propagate.

Syntax

Syntax:setSyncSceneProperty [property, sync]
Parameters:
  • property: String - Scene property to synchronize. Can be:
    • "Date"
    • "Declination"
    • "Fog"
    • "MaxEvaporation"
    • "MaxRainDensity"
    • "Overcast"
    • "Rain"
    • "RandomWeather"
    • "SurfaceDrainage"
    • "SurfaceMoisture"
    • "WaterLevel"
    • "WaterOpacity"
    • "Wind"
  • sync: Boolean - If true, then the scene property is synchronized.
Return Value:Nothing

Examples

Examples:
setSyncSceneProperty ["rain", false];

Additional Information

See also: getSyncSceneProperty
Multiplayer:
Problems:

Notes