Data Realms Fan Forums http://45.55.195.193/ |
|
How do you make an object instantly settle? http://45.55.195.193/viewtopic.php?f=73&t=16664 |
Page 1 of 1 |
Author: | CaveCricket48 [ Sat Sep 26, 2009 1:36 am ] |
Post subject: | How do you make an object instantly settle? |
Quick question: How do you make an object (MO) instantly settle, even when in mid-air? |
Author: | TheLastBanana [ Sat Sep 26, 2009 1:56 am ] |
Post subject: | Re: How do you say "GibWoundLimit" in Lua? |
You don't. Unfortunately, there is no variable for that yet. http://www.datarealms.com/wiki/index.php/LuaDocs/Index |
Author: | CaveCricket48 [ Sat Sep 26, 2009 2:12 am ] |
Post subject: | Re: How do you say "GibWoundLimit" in Lua? |
Oh, that stinks. Thanks anyways. |
Author: | TheLastBanana [ Sat Sep 26, 2009 3:28 am ] |
Post subject: | Re: How do you make an object instantly settle? |
object.ToSettle = true; Won't work in mid-air unfortunately. The MO has to have something solid directly under its middle. MOPixels can settle in mid-air, though. Also, in the future, don't edit a topic title into a different question, it makes the other responses in the thread terribly confusing. |
Author: | Azukki [ Sat Sep 26, 2009 6:24 am ] |
Post subject: | Re: How do you make an object instantly settle? |
TheLastBanana wrote: object.ToSettle = true; Won't work in mid-air unfortunately. The MO has to have something solid directly under its middle. MOPixels can settle in mid-air, though. So, could one settle an MOPixel in midair and then be able to spawn and settle a MOSRot/whatever directly above it? |
Author: | Grif [ Sat Sep 26, 2009 6:36 am ] |
Post subject: | Re: How do you make an object instantly settle? |
Yes. |
Author: | CaveCricket48 [ Sat Sep 26, 2009 8:23 pm ] |
Post subject: | Re: How do you make an object instantly settle? |
I have another question. How do you make "function Destroy (self)", instead of happening when self is destroyed, make it activate when "self.targetactor" is destroyed? |
Author: | Mind [ Sat Sep 26, 2009 9:54 pm ] |
Post subject: | Re: How do you make an object instantly settle? |
Code: if self.targetactor == Nil() then Something like that |
Author: | CaveCricket48 [ Sat Sep 26, 2009 9:59 pm ] |
Post subject: | Re: How do you make an object instantly settle? |
I already know how to do that. I want to do something like "function Destroy(self.targetactor)" except it doesn't work. Actually, nvm. I found another way. |
Author: | Grif [ Sat Sep 26, 2009 10:20 pm ] |
Post subject: | Re: How do you make an object instantly settle? |
if MovableMan:IsActor(self.target) == false then would actually be the best way to do it |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |