|
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 8 posts ] |
|
Lua is working. (AKA fixed)
Author |
Message |
CrazyMLC
Joined: Fri Dec 22, 2006 4:20 am Posts: 4772 Location: Good news everyone!
|
Lua is working. (AKA fixed)
I asked on #luahelp to no avail. http://pastebin.com/m12980c10
Last edited by CrazyMLC on Thu Jul 30, 2009 7:23 pm, edited 1 time in total.
|
Mon Jul 27, 2009 3:28 am |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: Lua is not working.
I think you dropped these:
|
Mon Jul 27, 2009 3:33 am |
|
|
CrazyMLC
Joined: Fri Dec 22, 2006 4:20 am Posts: 4772 Location: Good news everyone!
|
Re: Lua is not working.
Now: no overload of 'Controller:IsState' matched with the arguments (controller, nil)
|
Mon Jul 27, 2009 3:36 am |
|
|
Kyred
Joined: Sun May 31, 2009 1:04 am Posts: 308
|
Re: Lua is not working.
It's: actor:GetController():IsState(Controller.WEAPON_FIRE)
|
Mon Jul 27, 2009 5:45 am |
|
|
CrazyMLC
Joined: Fri Dec 22, 2006 4:20 am Posts: 4772 Location: Good news everyone!
|
Re: Lua is not working.
Problem on line six, lacking arguments.
How do I change AIModes?
|
Thu Jul 30, 2009 6:48 pm |
|
|
Roon3
Joined: Sun May 11, 2008 12:50 pm Posts: 899
|
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
|
Thu Jul 30, 2009 6:52 pm |
|
|
CrazyMLC
Joined: Fri Dec 22, 2006 4:20 am Posts: 4772 Location: Good news everyone!
|
Re: Lua is not working.
After some additional editing, it works! Hooray!
|
Thu Jul 30, 2009 7:22 pm |
|
|
Roon3
Joined: Sun May 11, 2008 12:50 pm Posts: 899
|
Re: Lua is not working.
CrazyMLC wrote: After some additional editing, it works! Hooray! I helped you with that too... :V
|
Thu Jul 30, 2009 8:22 pm |
|
|
|
|
Page 1 of 1
|
[ 8 posts ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|