Blockland Forums > Modification Help
Force Hug on Vehicles
MegaScientifical:
Wouldn't someone be able to break that simply by setting and unsetting a tool? If you switch it to another animation slot or whatever, it'd hold...
Destiny/Zack0Wack0:
Try %obj.playThread(2, armReadyBoth);. It's on a different animation slot to the root animation.
Greek2me:
--- Quote from: MegaScientifical on April 12, 2011, 07:12:01 AM ---Wouldn't someone be able to break that simply by setting and unsetting a tool? If you switch it to another animation slot or whatever, it'd hold...
--- End quote ---
Nope. Type /hug and then pull out a gun. It stays. oops
Lørd Tøny:
He got it to work, I am trying it now in my server. Except, it stops forcing the hug when I pull out an item.
Treynolds416:
--- Quote from: Lørd Tøny on April 12, 2011, 05:52:03 PM ---He got it to work, I am trying it now in my server. Except, it stops forcing the hug when I pull out an item.
--- End quote ---
Have the script play the animation every time function WeaponImage::onMount() is called