View unanswered posts | View active topics It is currently Fri Dec 27, 2024 7:33 am



Reply to topic  [ 5 posts ] 
 First time using lua 
Author Message
User avatar

Joined: Sun Aug 09, 2009 9:26 am
Posts: 1633
Reply with quote
Post First time using lua
Okay, I really need to know one thing. How do I make a weapon use lua? Like, is there a piece of code I need to insert somewhere for it to include the lua?


Fri Aug 21, 2009 8:34 pm
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post Re: First time using lua
Check the coalition homing rocket launcher, it has the stuff you need. Just search for Lua in the file


Fri Aug 21, 2009 8:48 pm
Profile
User avatar

Joined: Sun Aug 09, 2009 9:26 am
Posts: 1633
Reply with quote
Post Re: First time using lua
thanks, ^.^


Fri Aug 21, 2009 8:49 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: First time using lua
Thing to note: Weapons, when held, are considered Attachables, not separate MOs, and Attachables do not run any Lua. You have to work around this by making the round particles use Lua, or the Actor itself.


Fri Aug 21, 2009 9:43 pm
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: First time using lua
Or AEmitted particles.


Fri Aug 21, 2009 10:05 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.055s | 13 Queries | GZIP : Off ]