Garry's Mod Wiki

Revision Difference

Entity:SetLayerWeight#527748

<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> <note>Next update: is shared</note>⤶ <note>This function only works on <page>BaseAnimatingOverlay</page> entities.</note> </description> <realm>Server</realm>⤶ <realm>Shared</realm>⤶ <args> <arg name="layerID" type="number">The Layer ID</arg> <arg name="weight" type="number">The new layer weight.</arg> </args> </function>