@pinacolas
It works fine on 1.5.4
back to resource Comments - Bone attachments (bone_attach)
1
Work with mta 1.4 for everyone ?
Stolen From Crystal something including the gravity gun he susposably made
I love this script! definitly using it for a project I'm working on. I just wish going up and down slopes wasn't so bad.
anyway, this resource looks like more realistic attachElements and you dont have to set the position manualy so bad now. 5/5 for me, good job.
It doesnt work with CJ skin. the attached object just disapears and flickers somewhere else. if you change skin it works again..
oh what dumb i am...
you jsut use removeElement or something :P
you jsut use removeElement or something :P
you could maybe make so you can detach the object or!?
Vehicle attaching is fun :D
Yes. You can attach any physical element, but in 1.0.5, only objects have correct rotation.
Oh, did n't notice the element argument - thought that it was for model :) Then element return is not needed. But... does this mean I can even attach vehicle? O_o
Somebody should make a wiki page for this. 5/5 GJ
Return element? Why? If you're able to attach the element, you're able to set its model and destroy it because the first argument of attachElementToBone is the element anyway.
Functions for setting position and rotation may be useful, though. I didn't add these because another attachElementToBone call can be used to overwrite the current offset, but now I think I could add these to make scripting a little bit quicker for some people.
Functions for setting position and rotation may be useful, though. I didn't add these because another attachElementToBone call can be used to overwrite the current offset, but now I think I could add these to make scripting a little bit quicker for some people.
Awesome script, I gonna use it somewhere.
This might be useful if you return object's element (instead of 'true') in attachElementToBone(), ex. to be able to setElementModel, or destroyElement(). Also you could add setElementAttachPosition() and setElementAttachRotation.
This might be useful if you return object's element (instead of 'true') in attachElementToBone(), ex. to be able to setElementModel, or destroyElement(). Also you could add setElementAttachPosition() and setElementAttachRotation.
OMG DUDE!
This makes roleplay servers so much, more realistic.
This makes freeroams so much more funnier.
This makes cutscenes and stuff so much better to understand and more realistic.
I LOVE YOU MAN!
This makes roleplay servers so much, more realistic.
This makes freeroams so much more funnier.
This makes cutscenes and stuff so much better to understand and more realistic.
I LOVE YOU MAN!
Its awesome! 5/5
Yay, I'd rate this 10/5 if It'd be possible. Finally someone done this :) Good job!
1
ERROR: [DayZ-MTA]/DayZ/bone_attach/attach_func.lua:117: cannot resume dead coroutine [string "?"]