• What is layer ID for SetLayerDuration?
    7 replies, posted
What is layer ID for SetLayerDuration? and what it does?
Found this description in [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Entity/AddGesture]Entity:AddGesture[/url] [quote]Layer ID of the started gesture, used to manipulate the played gesture by other functions.[/quote] What exactly are you trying to do?
[QUOTE=YourStalker;50296009]Found this description in [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Entity/AddGesture]Entity:AddGesture[/url] What exactly are you trying to do?[/QUOTE] I'm trying to make player stand still and doesn't breath (idle animation) There is SetPlaybackRate in GAMEMODE:UpdateAnimation, but it seems like work with all other animations, but idle. AddGesture
You could try doing Entity:SetCycle(0) every frame.
[QUOTE=YourStalker;50298659]You could try doing Entity:SetCycle(0) every frame.[/QUOTE] doesn't help, furthermore iconedior has progressbar when you can set cycle wherever you want, if you stop it on some kind of gesture animation like attack, dance, reload etc.. it stops, but when you're doing this with idle animations it doesn't do anything.
I don't think you can actually do that with how the idle animation is set up for player models. It technically plays regardless of what the current active animation is, so simulate the "breathing" of a player.
[QUOTE=Robotboy655;50301610]I don't think you can actually do that with how the idle animation is set up for player models. It technically plays regardless of what the current active animation is, so simulate the "breathing" of a player.[/QUOTE] Yeah seems like that, it will be changed?
No.
Sorry, you need to Log In to post a reply to this thread.