Play (Function): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
mNo edit summary
m (Undo revision 1095 by Rocket (talk))
Tag: Undo
Line 13: Line 13:
|arguments            = [[Float]] ''fadeTime = 0.100000001'', [[Float]] ''weight = 1'', [[Float]] ''speed = 1'')
|arguments            = [[Float]] ''fadeTime = 0.100000001'', [[Float]] ''weight = 1'', [[Float]] ''speed = 1'')
|returns              = n/a
|returns              = n/a
|description          = Plays the AnimationTrack, with 3 optional parameters
|description          = Plays the AnimationTrack. Once called an AnimationTrack will play with the specified fadeTime, weight and speed.
|object              = [[GBX.lua.AnimationTrack (Object)|AnimationTrack]]
|object              = [[GBX.lua.AnimationTrack (Object)|AnimationTrack]]
}}</onlyinclude>
}}</onlyinclude>

Revision as of 11:10, 20 September 2021


Function
Syntax Play( )
Returns n/a
Description: Plays a stopped or paused sound
In Object: Sound


Function
Syntax Play( Float fadeTime = 0.100000001, Float weight = 1, Float speed = 1) )
Returns n/a
Description: Plays the AnimationTrack. Once called an AnimationTrack will play with the specified fadeTime, weight and speed.
In Object: AnimationTrack