Garry's Mod Wiki

Revision Difference

Entity:SetLayerWeight#514724

<function name="SetLayerWeight" parent="Entity" type="classfunc">⤶ <description>⤶ Sets the layer weight. This influences how strongly the animation should be overriding the normal animations of the entity.⤶ ⤶ <note>This function only works on <page>BaseAnimatingOverlay</page> entites!</note>⤶ </description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="layerID" type="number">The Layer ID</arg>⤶ <arg name="weight" type="number">The new layer weight.</arg>⤶ </args>⤶ </function>⤶ ⤶