Data Realms Fan Forums
http://45.55.195.193/

Problem with usage of proximity code
http://45.55.195.193/viewtopic.php?f=73&t=17087
Page 1 of 1

Author:  Imperative [ Mon Nov 09, 2009 10:37 am ]
Post subject:  Problem with usage of proximity code

http://pastebin.com/m5a857a09

Using this code for the firearm often results in pinning of self. Help anyone?

Author:  Roon3 [ Mon Nov 09, 2009 10:43 am ]
Post subject:  Re: Problem with usage of proximity code

Code:
if dist < curdist and posactor ~= self.parent then


Change posactor to actor, posactor is nil, so checking if it isn't the parent doesn't really do anything.

Author:  Imperative [ Mon Nov 09, 2009 10:59 am ]
Post subject:  Re: Problem with usage of proximity code

ahhhhh
thanks.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/