Data Realms Fan Forums http://45.55.195.193/ |
|
Arms and legs http://45.55.195.193/viewtopic.php?f=73&t=25465 |
Page 1 of 1 |
Author: | Asklar [ Fri Sep 09, 2011 7:11 pm ] |
Post subject: | Arms and legs |
Now that accesing attachables with lua is easier, and we have also more functions and thingies, I was wondering, is it possible to detach the arms/legs from the torso with lua? And another doubt I had is, can I "freeze" the legs or arms of a target making them staying at the same frame for a period of time with lua? Thanks! |
Author: | akblabla [ Thu Aug 02, 2012 7:18 pm ] |
Post subject: | Re: Arms and legs |
Yes and yes use the function Detach like this Code: if self.Leg ~= nil and self.Leg.ID ~= 255 then self.Leg:Detach() end And for the other just use Code: self.Status = 2 He may collapse in place, but other than that, it should work. |
Author: | Asklar [ Thu Aug 02, 2012 10:42 pm ] |
Post subject: | Re: Arms and legs |
Wow, you only took like, 1 year to answer! =P I had forgot I had this idea, so I'm gonna troll around for a while with this. Thanks! |
Author: | akblabla [ Fri Aug 03, 2012 6:40 am ] |
Post subject: | Re: Arms and legs |
Asklar wrote: Wow, you only took like, 1 year to answer! =P I had forgot I had this idea, so I'm gonna troll around for a while with this. Thanks! Ha, I just looked through the unanswered posts, and I didn't realize it was that old |
Author: | TND [ Wed Aug 08, 2012 9:04 pm ] |
Post subject: | Re: Arms and legs |
Meganercro. xD akblabla, could you explain what it means if the ID is 255? I'm having issues related to it. Edit: Nevermind, problem solved! |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |