nS_CreateLight(x%, y%, iRadius%, iRed%, iGreen%, iBlue%, fIntensity#, [fAlpha#=0], [bInvertedLight%=False]) | Function |
Description: Creates a light entity | |
Parameters: x% = X position y% = Y position iRadius% = Radius of the light iRed% = Red level (0-255) iGreen% = Green level (0-255) iBlue% = Blue level (0-255) fIntensity# = Intensity level (0+) fAlpha# [Default value = 0] = Alpha level (0-1) bInvertedLight% [Default value = False] = TRUE if it is an inverted light (absorb light instead of diffuse it) | |
Return value: Light handle |