Garry's Mod Wiki

Garry's Mod Wiki

  Entity:SetLayerAutokill( number layerID, boolean autoKill )

Description

Sets the autokill flag on the layer, making the layer be automatically removed once the animation playback finishes.

This function only works on BaseAnimatingOverlay entites!

Arguments

1 number layerID
The layer ID to change.
2 boolean autoKill
Whether to set or unset the autokill flag.

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...