How to activate upgrades on event?

MetaMindMetaMind Join Date: 2012-12-06 Member: 174358Members, Reinforced - Gold
Hey there guys... long time no see :)
I ve decided continue working on my mod again and made great progress so far...
I just ve some kinda nooby questions for you ^^
So how do i unlock marine (and alien) upgrades on event?

I wanna unlock the marine weapons1 for expl. here is the code I tried to use:
local marinetechtree = GetTechTree(kTeam1Index)

marinetechTree:GetTechNode(kTechId.Weapons1):SetResearched(true)

but its not working.... also how do i transform a specific marine to an exo on event?
Any help would be greatly appreciated

Comments

  • MetaMindMetaMind Join Date: 2012-12-06 Member: 174358Members, Reinforced - Gold
    edited June 2014
    Ok I ve solved it with the weapons upgrade... forgot to delete armslab requirements in marineteam.lua ^^
    But how do I get the exo upgrade thing working?
    specifically I want to transform a marine to an exo when he reached a certain amount of points (score).
Sign In or Register to comment.