Data Realms Fan Forums http://45.55.195.193/ |
|
Some questions that the Lua documentation doesn't go over http://45.55.195.193/viewtopic.php?f=1&t=15418 |
Page 1 of 1 |
Author: | 8-Bit [ Thu Jun 18, 2009 2:42 pm ] |
Post subject: | Some questions that the Lua documentation doesn't go over |
I've been working on a large mod, and I feel it's time for me to make a single uber-cheap weapon for fun. The problem is, I can't find the function for onTouch in the lua documentation. I also don't know how to attach a .lua script to a projectile. Just for your information: the base of this weapon is the dummy Grenade Launcher. if anyone can simply post the lines I need to use or where to find a more completed lua documentation, that would be nice EDIT: being more specific, what would I write before (gibThis)? |
Author: | mail2345 [ Thu Jun 18, 2009 6:48 pm ] |
Post subject: | Re: Some questions that the Lua documentation doesn't go over |
No onTouch function. MORays do a decent job. |
Author: | Roon3 [ Thu Jun 18, 2009 7:15 pm ] |
Post subject: | Re: Some questions that the Lua documentation doesn't go over |
Code: ScriptPath = <PathToScript> Should attach the script to anything. |
Author: | 8-Bit [ Fri Jun 26, 2009 11:45 pm ] |
Post subject: | Re: Some questions that the Lua documentation doesn't go over |
That kinda goes over what I want to do, but I can't find any documentation on MORays. So far, I've mostly exclusively did HTML. I've only done a little bit of Torquescript, and a little bit of C++. I've hardly modded .inis, and have NEVER worked with lua D: |
Author: | mail2345 [ Sat Jun 27, 2009 12:00 am ] |
Post subject: | Re: Some questions that the Lua documentation doesn't go over |
http://datarealms.com/wiki/index.php/Lu ... #CastMORay Darlos does a nice job of documenting his use of them. See his code. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |