LoadAnimation (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Legend26 No edit summary |
>JulienDethurens No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude>{{Method | <onlyinclude>{{Method | ||
|name = LoadAnimation | |name = LoadAnimation | ||
| arguments = [[Instance]] | | arguments = [[Instance]] <var>Animation</var> | ||
|description = This can be used to load an animation into the | |description = This can be used to load an animation into the Humanoid as a variable. | ||
|returns = [[Instance]] | |returns = [[Instance]] | ||
|object = Humanoid | |object = Humanoid | ||
}}</onlyinclude> | }}</onlyinclude> | ||
Line 10: | Line 10: | ||
{{Example| | {{Example| | ||
Used to make a | Used to make a Humanoid act out an animation. | ||
< | <code lua>example=Humanoid:LoadAnimation(script.Parent.AnAnimation) | ||
example:Play() | example:Play() | ||
</ | </code>}} | ||
[[Category:Methods]] | [[Category:Methods]] |
Revision as of 07:04, 26 January 2012
![]() | |
Returns | Instance |
Description: | This can be used to load an animation into the Humanoid as a variable. |
Member of: | Humanoid |
Example
{{{1}}}