Global/DynamicLight

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Added this page)
 
Line 1: Line 1:
{{Function
+
{{Func
| Name = DynamicLight
+
|Name=DynamicLight
| Namespace = [[Global]]
+
|Parent=Global
| Realm = Client
+
|Description=Creates or replaces a dynamic light with the given id
 +
|Realm=Client
 +
|IsClass=No
 
}}
 
}}
 
+
{{Arg
{{Syntax
+
|type=number
| Name = DynamicLight
+
|name=index
| Description = Creates or replaces a dynamic light with the given id
+
|desc=Usually an entity index is used here.
| Returns = {{Return|dlight_t|DLight}}
+
 
+
| Arg1Name = index
+
| Arg1Type = number
+
| Arg1Req = true
+
| Arg1Desc = Usually an entity index is used here.
+
 
}}
 
}}

Revision as of 16:17, 26 February 2013

 DynamicLight( )

Description

Creates or replaces a dynamic light with the given id

Arguments

number index

Usually an entity index is used here.
Personal tools
Navigation