Garry's Mod Wiki

NextBot:PlaySequenceAndWait

  NextBot:PlaySequenceAndWait( string name, number speed = 1 )

Description

To be called in the behaviour coroutine only! Plays an animation sequence and waits for it to end before returning.

Arguments

1 string name
The sequence name
2 number speed = 1
Playback Rate of that sequence