Entity.SetDTAngle
From GMod Wiki
Function | |
Syntax | Entity:SetDTAngle( Var Key, Angle Value ) |
Description: | |
Sets a DTAngle. | |
Returns: | nil |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.SetDTAngle]Entity.SetDTAngle [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Sets the first DTAngle to Angle(1,2,3) |
---|---|
Used on | |
Code | ent:SetDTAngle(0,Angle(1,2,3)) |
Output | N/A |
Additional Notes
- Key can be a string that corresponds to the name of the DTVar given at creation, or an integer indicating the ID of the DTVar, according to the order the vars were created in.