Entity/SetBodygroup

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(I always forget this, so I am putting this here for others too)
 
Line 9: Line 9:
 
|type=number
 
|type=number
 
|name=bodygroup
 
|name=bodygroup
|desc=The id of the bodygroup you're setting. Starts from 1.
+
|desc=The id of the bodygroup you're setting. Starts from 0.
 
}}
 
}}
 
{{Arg
 
{{Arg

Latest revision as of 13:06, 23 February 2015

 Entity:SetBodygroup( )

Description

Sets an entities' bodygroup.

Arguments

number bodygroup

The id of the bodygroup you're setting. Starts from 0.

Arguments

number value

The value you're setting the bodygroup to. Starts from 0.
Personal tools
Navigation