SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF2 Modding => Topic started by: mcneb10 on June 02, 2019, 08:50:46 AM

Title: More than 6 units?
Post by: mcneb10 on June 02, 2019, 08:50:46 AM
How can I have more than 6 units that the player can be
Title: Re: More than 6 units?
Post by: bennyjeremy on June 02, 2019, 05:02:17 PM
I'm not sure how to have more than 7 units but adding the marine type into the setup team part will add another unit; I'm not sure if the pilot type would work. Hope it helps :)

This is what I'm talking about when I say the "setup team part":
[spoiler]   SetupTeams{
      x = {
         team = x,
         units = x,
         reinforcements = x,
         soldier  = { "x",number, number},
         engineer = { "x",number, number},
         sniper   = { "x",number, number},
         officer = { "x",number, number},
         special = { "x",number, number},
         assault  = { "x",number, number},
         marine  = { "x",number, number},[/spoiler]
Title: Re: More than 6 units?
Post by: mcneb10 on June 02, 2019, 05:15:59 PM
I found out how. Just do [spoiler]AddUnitClass(REP,"person",1,4)[/spoiler]
Title: Re: More than 6 units?
Post by: NB20026 on June 05, 2019, 02:59:22 AM
AddUnitClass is better or in setupteams script you can add your own class
EhPortal 1.34 © 2024, WebDev