te_create_dynamic_light

Creates a dynamic light with a world effect.

Syntax

stock te_create_dynamic_light(position[3], radius = 10, r = 255, g = 255, b = 255, life = 10, decay = 10, receiver = 0, bool:reliable = true) {

Usage

radius Light radius (0 - 255)
r Red color amount (0 - 255)
g Green color amount (0 - 255)
b Blue color amount (0 - 255)
life The length of time the light shall remain (0 - 255)
decay Light decay rate (0 - 255)
receiver Client index that will be able to see the light
reliable If true, the message will be sent via the reliable

Return

if "receiver" is non-zero and the client isn't connected,

Notes

Video preview of this and all other te_ stocks can be found here:

Defined in msgstocks.inc at line 1678 . This documentation was automatically generated from source.