Garry's Mod Wiki

Revision Difference

Entity:GetBodyGroups#544787

<function name="GetBodyGroups" parent="Entity" type="classfunc"> <description>Returns a list of all body groups of the entity. <note>If called for Weapon with different body groups on world model and view model will return body groups form view model.</note> <note>If called for Weapon (after Initialize hook) with different body groups on world model and view model will return body groups form view model.</note> </description> <realm>Shared</realm> <rets> <ret name="" type="table">Bodygroups as a table of <page>Structures/BodyGroupData</page>s if the entity can have bodygroups.</ret> </rets> </function>