View unanswered posts | View active topics It is currently Fri Aug 14, 2020 3:24 am

Reply to topic  [ 1 post ] 
 Setting native tech in activity 
Author Message
DRL Developer
DRL Developer
User avatar

Joined: Thu Jun 11, 2009 2:34 pm
Posts: 966
Location: Moscow, Russia
Reply with quote
Post 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: "

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...

Thu Jun 07, 2012 9:02 am
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.021s | 17 Queries | GZIP : Off ]