SA-MP Forums Archive
Scriping Question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Scriping Question (/showthread.php?tid=664464)



Scriping Question - Allrounder18 - 01.03.2019

Good evening!

Is it possible to do an animation with a 0.3.DL object that looks like a pickaxe? If yes, which animation?

Best regards

Allrounder18


Re: Scriping Question - Swarn - 01.03.2019

I guess you mean attach the custom object to the hand of the player and then play an animation? I guess that'll work I don't see why not, CHAINSAW has good animations that somewhat represent a pickaxe

Код:
CHAINSAW
CSAW_1
CSAW_2
CSAW_3
CSAW_G
CSAW_Hit_1
CSAW_Hit_2
CSAW_Hit_3
csaw_part
IDLE_csaw
WEAPON_csaw
WEAPON_csawlo



Re: Scriping Question - Allrounder18 - 01.03.2019

This animation sounds good, but do I have to attach that as an object or weapon?


Re: Scriping Question - Swarn - 01.03.2019

Object, I guess you already have the object pickaxe made so it'll be an object once you've downloaded it


Re: Scriping Question - Allrounder18 - 01.03.2019

I have the object attached, but it does not move in the animation. How should I do it right?


Re: Scriping Question - Swarn - 01.03.2019

Make sure you've set the object bone to either left or right arm (depending on what hand you'd like the pickaxe to be) then do the adjusting to the palm again and you should be good

https://sampwiki.blast.hk/wiki/Body_Parts