|
| 25 May 2015 12:49 PM |
I'm currently designing a high grade RPG, and I'm currently working on the Goblin enemy type. They use swords as their primary weapon. So I have it set when the player is a ways away from them that sword is sheathed on their backs. I have this working properly. The problem is that when I'm fighting them I can pickup the sword while they're using it. This doesn't happen until they unsheathe the sword then bring it out again.
Any suggestions on what I can do to fix this? |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 25 May 2015 12:50 PM |
| There are too many RPG's on roblox. |
|
|
| Report Abuse |
|
|
|
| 25 May 2015 12:52 PM |
| Implying I'm designing it for people to play. I'm enjoying making it for myself and friends, so that is irrelevant to me. |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 25 May 2015 12:54 PM |
| Don't use the Roblox tool type. |
|
|
| Report Abuse |
|
|
|
| 25 May 2015 12:56 PM |
| I need that in order for the animation script to recognize that the Goblin is holding the weapon. |
|
|
| Report Abuse |
|
|
|
| 25 May 2015 12:58 PM |
| then make your own scripts instead of free models |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
| |
|
|
| 25 May 2015 01:01 PM |
"Make your own scripts instead of using free models."
I do? I used the base scripts that I could pull out of my own character, which is completely justifiable and no use of free models. So easy there captain edgy. |
|
|
| Report Abuse |
|
|
|
| 25 May 2015 01:01 PM |
"Equip it to the Humanoid?"
Please elaborate. What do you mean? |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 25 May 2015 01:03 PM |
| http://wiki.roblox.com/index.php?title=API:Class/Humanoid/EquipTool |
|
|
| Report Abuse |
|
|
|
| 25 May 2015 01:04 PM |
| ok so you said you need the tool type to animate the npc. if so then optomize you script to not use it, it should be easy enough. |
|
|
| Report Abuse |
|
|
|
| 25 May 2015 01:11 PM |
"http://wiki.roblox.com/index.php?title=API:Class/Humanoid/EquipTool"
This fixed everything, thank you. |
|
|
| Report Abuse |
|
|