NextBot/PlaySequenceAndWait

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=PlaySequenceAndWait |Parent=NextBot |Description=To be called in the behaviour coroutine only! Plays an animation sequence and waits for it to end before retur...")
 
 
(2 intermediate revisions by one user not shown)
Line 3: Line 3:
 
|Parent=NextBot
 
|Parent=NextBot
 
|Description=To be called in the behaviour coroutine only! Plays an animation sequence and waits for it to end before returning.
 
|Description=To be called in the behaviour coroutine only! Plays an animation sequence and waits for it to end before returning.
|Realm=
+
|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 14: Line 14:
 
}}
 
}}
 
{{Arg
 
{{Arg
|type=
+
|type=number
|name=
+
|name=speed
|desc=
+
|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