Play (Function): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
m (Undo revision 1095 by Rocket (talk))
Tag: Undo
mNo edit summary
 
(3 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
Line 16: Line 17:
|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