Data Realms Fan Forums
http://45.55.195.193/

Lua is working. (AKA fixed)
http://45.55.195.193/viewtopic.php?f=73&t=16022
Page 1 of 1

Author:  CrazyMLC [ Mon Jul 27, 2009 3:28 am ]
Post subject:  Lua is working. (AKA fixed)

I asked on #luahelp to no avail.

http://pastebin.com/m12980c10

Author:  mail2345 [ Mon Jul 27, 2009 3:33 am ]
Post subject:  Re: Lua is not working.

I think you dropped these:
Code:
()

Author:  CrazyMLC [ Mon Jul 27, 2009 3:36 am ]
Post subject:  Re: Lua is not working.

Now: no overload of 'Controller:IsState' matched with the arguments (controller, nil)

Author:  Kyred [ Mon Jul 27, 2009 5:45 am ]
Post subject:  Re: Lua is not working.

It's: actor:GetController():IsState(Controller.WEAPON_FIRE)

Author:  CrazyMLC [ Thu Jul 30, 2009 6:48 pm ]
Post subject:  Re: Lua is not working.

Problem on line six, lacking arguments.

How do I change AIModes?

Author:  Roon3 [ Thu Jul 30, 2009 6:52 pm ]
Post subject:  Re: Lua is not working.

It should be actor:ClearAIWaypoints(), after an argumentless function you still need brackets.

edit: http://pastebin.com/m37670012 I think I fixed the whole thing, also added comments

Author:  CrazyMLC [ Thu Jul 30, 2009 7:22 pm ]
Post subject:  Re: Lua is not working.

After some additional editing, it works! Hooray!

Author:  Roon3 [ Thu Jul 30, 2009 8:22 pm ]
Post subject:  Re: Lua is not working.

CrazyMLC wrote:
After some additional editing, it works! Hooray!

I helped you with that too... :V

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