Hello
I am trying to set up a reinforcement count for my local team, the Jawas. What do I put in to do this? Do i use something like
SetReinforcementCount( 3, 5) and do something sneaky so I dont always get victory when i kill them all (they are helping the enemy team)
?
Local Reinforcement Count
Moderator: Moderators
- asleeponduty
- Private First Class
- Posts: 77
- Joined: Tue Jul 22, 2008 3:05 pm
- xbox live or psn: No gamertag set
- Location: Illinois
- bobfinkl
- Rebel Colonel

- Posts: 593
- Joined: Sun Jul 13, 2008 9:01 am
- Projects :: Lots of unreleased stuff
- xbox live or psn: No gamertag set
- Location: The quaint little city gametoast.
Re: Local Reinforcement Count (help needed)
As far as I know that code would work just fine, just set the number really low in the beggining so you can kill them off fast and see if it works.asleeponduty wrote:Hello
I am trying to set up a reinforcement count for my local team, the Jawas. What do I put in to do this? Do i use something like
SetReinforcementCount( 3, 5) and do something sneaky so I dont always get victory when i kill them all (they are helping the enemy team)
?
- asleeponduty
- Private First Class
- Posts: 77
- Joined: Tue Jul 22, 2008 3:05 pm
- xbox live or psn: No gamertag set
- Location: Illinois
Re: Local Reinforcement Count
ya it works, but I get a victory when i do that-the locals are enemies to everybody.
i do not want a victory when i kill them all.
i do not want a victory when i kill them all.
- bobfinkl
- Rebel Colonel

- Posts: 593
- Joined: Sun Jul 13, 2008 9:01 am
- Projects :: Lots of unreleased stuff
- xbox live or psn: No gamertag set
- Location: The quaint little city gametoast.
Re: Local Reinforcement Count
This code should work just make sure that the number 10 I put is above the the locals unit count:
I just wrote that off the top of my head, I'm pretty sure it'll need some fixing.
Code: Select all
If GetReinforcementCount(3) == 10 then
AllowAISpawn(3, false)
end