View unanswered posts | View active topics It is currently Thu Dec 26, 2024 6:02 pm



Reply to topic  [ 8 posts ] 
 Lua is working. (AKA fixed) 
Author Message
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Lua is not working.
I think you dropped these:
Code:
()


Mon Jul 27, 2009 3:33 am
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post Re: Lua is not working.
Now: no overload of 'Controller:IsState' matched with the arguments (controller, nil)


Mon Jul 27, 2009 3:36 am
Profile WWW
User avatar

Joined: Sun May 31, 2009 1:04 am
Posts: 308
Reply with quote
Post Re: Lua is not working.
It's: actor:GetController():IsState(Controller.WEAPON_FIRE)


Mon Jul 27, 2009 5:45 am
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post Re: Lua is not working.
Problem on line six, lacking arguments.

How do I change AIModes?


Thu Jul 30, 2009 6:48 pm
Profile WWW
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post Re: Lua is not working.
After some additional editing, it works! Hooray!


Thu Jul 30, 2009 7:22 pm
Profile WWW
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post 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
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 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

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.089s | 13 Queries | GZIP : Off ]