Page 1 of 1
How do I script a weapon that increases unit count?
Posted: Sun Apr 11, 2010 11:29 am
by skelltor
I want to make a wepon/buff sorta thing that increases the unit count by like adding 20 reinforcments. I would guess it has something to do with the lua but i am vary new to editing luas help please.
Re: How do I script a weapon that increases unit count?
Posted: Mon Apr 12, 2010 1:18 am
by [RDH]Zerted
Make your weapon create/drop/deploy some type of object. Using the Lua, when that object is created/dropped/deployed, destroy it and use AddReinforcementCount(<object's team>, 20) For scripting help, read the scripting document from the mod tools.
Re: How do I script a weapon that increases unit count?
Posted: Mon Apr 12, 2010 10:24 am
by skelltor
Ok thx
