NextBot/PlaySequenceAndWait

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(There actually is second argument)
 
Line 5: Line 5:
 
|Realm=Server
 
|Realm=Server
 
|IsClass=Yes
 
|IsClass=Yes
|File_Name=gamemodes/base/entities/entities/base_nextbot/sv_nextbot.lua
+
|File=gamemodes/base/entities/entities/base_nextbot/sv_nextbot.lua
|File_Line=302
+
|Line=298-317
 
}}
 
}}
 
{{Arg
 
{{Arg

Latest revision as of 18:04, 26 January 2015

 NextBot:PlaySequenceAndWait( )

Description

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

Arguments

string name

The sequence name

Arguments

number speed=1

Playback Rate of that sequence
Personal tools
Navigation