Garry's Mod Wiki
Description
Sets the interval the layer will fully blend in since startup, based on Entity:GetLayerCycle. Setting this above 0 will enable internal blending of Entity:GetLayerWeight.
This function only works on BaseAnimatingOverlay entites!
Enabling this will prevent looping gestures with autokill disabled to be removed with Entity:RemoveGesture or Entity:RemoveAllGestures because layer removal functions mark the layer to decrement Entity:GetLayerWeight and unallocate layer ID in next frames if the layer weight is
0, but blending functions will still keep manipulating layer weight.
Therefore; before calling layer cleanup functions, make sure both Entity:SetLayerBlendIn and Entity:SetLayerBlendOut are set to 0.
Arguments
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...
