LUADOC - Farming Simulator 22

Nightlight2

Description
Class for nightlight objects which are blending in on night
Functions

onCreate

Description
Creating nightlight object
Definition
onCreate(integer id)
Arguments
integeridID of the node
Code
11function Nightlight2:onCreate(id)
12 Logging.warning("i3d onCreate user-attribute 'Nightlight2' is deprecated. Please use 'Visiblity Condition'-Tab in GIANTS Editor for node '%s' instead", getName(id))
13end