View unanswered posts | View active topics It is currently Thu Jan 02, 2025 10:47 pm



Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
 Lua help. 
Author Message
User avatar

Joined: Tue Dec 12, 2006 3:10 pm
Posts: 495
Location: Uncertain quantum state
Reply with quote
Post Re: Lua help.
I'd be guessing it's team -1 actors.

try replacing the line

Code:
  elseif  actor.Team ~= self.Team then


with
Code:
      elseif  actor.Team ~= self.Team and actor.Team~=-1 then


Sun Oct 24, 2010 7:46 pm
Profile

Joined: Mon Dec 07, 2009 12:56 am
Posts: 36
Reply with quote
Post Re: Lua help.
Thanks for all the help everyone, Fin Dudes final suggestion fixed it. Now both my units, and my enemies in campaign and skirmish arent retarded, and I make cash for kills. This works with every type of brain. But the Swarm 3rd party mission still doesnt make money. I suspect there some script preventing making any money at all, but they still arent retarded on that map. This is working exactly how I wanted it to :grin:


Sun Oct 24, 2010 9:14 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 17 posts ]  Go to page Previous  1, 2

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.034s | 13 Queries | GZIP : Off ]