Change weapon via Lua
Posted: Thu Mar 31, 2016 7:57 am
Hi,
is it possible to exchange a weapon via lua script?? Let's say there is a unit with airstrike and it's stupid to have it on TantiveIV. So now i can make two different units with different weapons, but it doesn't seams to be a good solution. So i thought i can exchange the weapon via lua in the tantiveIV script. Is that possible? and how would i do that??
is it possible to exchange a weapon via lua script?? Let's say there is a unit with airstrike and it's stupid to have it on TantiveIV. So now i can make two different units with different weapons, but it doesn't seams to be a good solution. So i thought i can exchange the weapon via lua in the tantiveIV script. Is that possible? and how would i do that??