iiNerbaz
|
  |
| Joined: 30 Mar 2014 |
| Total Posts: 2629 |
|
|
| 28 Sep 2016 08:09 PM |
Is there a way to make a npc do an animation in roblox studio? So by that i mean is there any plugin or something that when you are in edit mode you can make any npc do a animation?
|
|
|
| Report Abuse |
|
|
iiNerbaz
|
  |
| Joined: 30 Mar 2014 |
| Total Posts: 2629 |
|
| |
|
12904
|
  |
| Joined: 29 Oct 2012 |
| Total Posts: 441 |
|
|
| 28 Sep 2016 08:22 PM |
Same way you make a regular person do a animation.. Say it is the zombie
local LoadedAni = workspace.Zombie.Humanoid:LoadAnimation(Animation) LoadedAni:Play()
|
|
|
| Report Abuse |
|
|
iiNerbaz
|
  |
| Joined: 30 Mar 2014 |
| Total Posts: 2629 |
|
|
| 28 Sep 2016 08:23 PM |
Where do i run that command and how does roblox studio know what animation to play. I want it to play a specific animation i made in edit mode of roblox studio.
|
|
|
| Report Abuse |
|
|
12904
|
  |
| Joined: 29 Oct 2012 |
| Total Posts: 441 |
|
|
| 28 Sep 2016 08:52 PM |
| put it in the zombie and when I said loadanimation(animation) but this in the animation slot. workspace.Zombie.Animation. Also make sure the zombie is in workspace and the animation is named "Animation". |
|
|
| Report Abuse |
|
|
|
| 28 Sep 2016 09:04 PM |
| Don't load the animation into the zombie's humanoid, you need to add something called an AnimationController into the NPC and load the animation into that. |
|
|
| Report Abuse |
|
|