Play (Function): Difference between revisions
From Goodblox Wiki
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{CatUp|Functions}} | {{CatUp|Functions}} | ||
There is a special function for Sound objects. | |||
<onlyinclude>{{Function| | <onlyinclude>{{Function| | ||
name = Play | name = Play | ||
Line 9: | Line 9: | ||
}}</onlyinclude> | }}</onlyinclude> | ||
There is a special function for AnimationTrack objects. | |||
<onlyinclude>{{Function| | <onlyinclude>{{Function| | ||
name = Play | name = Play | ||
|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, | |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> | ||
[[Category:Functions]] |
Latest revision as of 20:50, 23 September 2021
There is a special function for Sound objects.
Function | |
---|---|
Syntax | Play( ) |
Returns | n/a |
Description: | Plays a stopped or paused sound |
In Object: | Sound |
There is a special function for AnimationTrack objects.
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 |