NextBot/PlaySequenceAndWait

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (There are no secound argument, fixed realm)
 
(One intermediate revision by one user not shown)
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
Line 12: Line 12:
 
|name=name
 
|name=name
 
|desc=The sequence name
 
|desc=The sequence name
 +
}}
 +
{{Arg
 +
|type=number
 +
|name=speed
 +
|desc=Playback Rate of that sequence
 +
|default=1
 
}}
 
}}

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