Revision Difference
Entity:GetBodyGroups#562785
<function name="GetBodyGroups" parent="Entity" type="classfunc">
<description>Returns a list of all body groups of the entity.⤶
<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>⤶
Returns a list of information about each Body Group present on the <page text="Entity's">Entity</page> model.⤶
<note>⤶
Weapons will return results from their viewmodels.⤶
</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>⤶
<ret name="" type="table">⤶
A table of Body Group information where each value is a <page>Structures/BodyGroupData</page>.⤶
</ret>⤶
</rets>
</function>