Page 1 of 1

How do you set up LUA weapons?

Posted: Wed Sep 16, 2009 7:55 pm
by Darth_Squoobus
While browsing Fiodis's "Unconventional weapons" thread, I learned about something called a LUA weapon, which is a weapon that does something special because of a LUA workaround.


And I wondered: How do you set one up? Because I want to make a Rakghoul plague that kills units slowly then makes a rakghoul (cough*rancor with wampa skeleton*cough) spawn after they die. And it works like a buff.

So, how exactly do I do it?

Re: How do you set up LUA weapons?

Posted: Wed Sep 16, 2009 8:28 pm
by Maveritchell
Darth_Squoobus wrote:I learned about something called a LUA weapon, which is a weapon that does something special because of a LUA workaround.
Just a clarification - "LUA weapon" is just a terminology; it's any weapon that is used to trigger a scripted event. It's not something specific or an actual type of weapon. If you want to make one, you'll need to know how to script what you want to happen and then you'll need to make a weapon that triggers that event.