Data Realms Fan Forums http://45.55.195.193/ |
|
First time using lua http://45.55.195.193/viewtopic.php?f=73&t=16313 |
Page 1 of 1 |
Author: | Benpasko [ Fri Aug 21, 2009 8:34 pm ] |
Post subject: | 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? |
Author: | p3lb0x [ Fri Aug 21, 2009 8:48 pm ] |
Post subject: | Re: First time using lua |
Check the coalition homing rocket launcher, it has the stuff you need. Just search for Lua in the file |
Author: | Benpasko [ Fri Aug 21, 2009 8:49 pm ] |
Post subject: | Re: First time using lua |
thanks, ^.^ |
Author: | Duh102 [ Fri Aug 21, 2009 9:43 pm ] |
Post subject: | 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. |
Author: | mail2345 [ Fri Aug 21, 2009 10:05 pm ] |
Post subject: | Re: First time using lua |
Or AEmitted particles. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |