|Data Realms Fan Forums
|Setting native tech in activity
|Page 1 of 1|
|Author:||weegee [ Thu Jun 07, 2012 9:02 am ]|
|Post subject:||Setting native tech in activity|
For example set native tech as dummy:
local gui = self:GetBuyGUI(0) -- Argument is a team
local id = PresetMan:GetModuleID("Dummy")
if id > -1 and gui then
print ("Set native tech to: "..id)
This will open dummy items in buy GUI and set high prices on foreign tech items.
Yeah, right, wasted a couple of hours staring at CortexCommand.exe to figure this instead of looking into Metafight.lua... What an idiot...
|Page 1 of 1||All times are UTC [ DST ]|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group