skyarex
|
  |
| Joined: 21 Mar 2010 |
| Total Posts: 12989 |
|
|
| 08 Dec 2013 07:33 AM |
I just made an animation that is intended to play right after I equip a weapon. But I don't know how to use the animation. I have saved it. Help?
"Don't Panic"- HHGTTG |
|
|
| Report Abuse |
|
|
|
| 08 Dec 2013 08:07 AM |
Firstly, the animations are hashed. Cut/pasting them to a different place will wipe the hash, thus the animation becomes useless.
humanoid:LoadAnimation(animHere):Play() |
|
|
| Report Abuse |
|
|
|
| 08 Dec 2013 08:11 AM |
@Unsub
Do you use the Animation object that ROBLOX provides and what do you do with the StringValue? |
|
|
| Report Abuse |
|
|
|
| 08 Dec 2013 08:12 AM |
| The StringValue from what I gathered so far is completely useless, use the Animation instance. |
|
|
| Report Abuse |
|
|
|
| 08 Dec 2013 08:14 AM |
And how what would the function be?
(Sorry for sounding neewbish :P; I do GUI scripting & animations) |
|
|
| Report Abuse |
|
|
|
| 08 Dec 2013 08:20 AM |
well, uhm:
function runAnim(hum,anim) hum:LoadAnimation(anim):Play() end
local humanoid=workspace.Player1.Humanoid local animation=humanoid.Parent.Animation1
runAnim(humanoid,animation) |
|
|
| Report Abuse |
|
|
skyarex
|
  |
| Joined: 21 Mar 2010 |
| Total Posts: 12989 |
|
|
| 08 Dec 2013 01:44 PM |
What does hashed mean?
"Don't Panic"- HHGTTG |
|
|
| Report Abuse |
|
|