Restricting a class to the player[Solved]

Started by CrazyGentleman, January 21, 2017, 06:33:27 AM

Previous topic - Next topic
January 21, 2017, 06:33:27 AM Last Edit: January 21, 2017, 02:19:51 PM by CrazyGentleman
Hello,

As the title already mentions it, how do I go about restricting a class to only the player?

Thanks in advance,

CrazyGentleman
"The truth is of highest importance, and only with the truth can one move forward."

Look at the mission lua and remove the amount of bots per class.
Anyder | Talent, Ops & Culture | SWBF & Player Engagement
Email: communityambassador@swbfgamers.com
SWBFSpy Discord: http://discord.swbfspy.com
SWBFSpy Info: http://info.swbfspy.com

Okay, thanks! . Just to be sure, if I had for example: AddUnitClass("imp_inf_501stormtrooper",0,0). Which number would be the amount of bots?

Kind regards,

CrazyGentleman
"The truth is of highest importance, and only with the truth can one move forward."

Quote from: CrazyGentleman on January 21, 2017, 11:48:39 AM
Okay, thanks! . Just to be sure, if I had for example: AddUnitClass("imp_inf_501stormtrooper",0,0). Which number would be the amount of bots?

Kind regards,

CrazyGentleman

The first one. The second number refers to the unit cap IIRC, like for example how there can only be 4 jet troopers, etc. at a time.
"Birth, pain, fear, death; the cycle of existence." -Dread Master Calphayus.

SWBF1 Maps: Tatooine: Mos Anek, Kashyyyk: Village, Naboo: Province, Tatooine: Gulch.

SWBF2 Maps: Space Carida.

Quote from: Ascertes on January 21, 2017, 12:51:22 PM
The first one. The second number refers to the unit cap IIRC, like for example how there can only be 4 jet troopers, etc. at a time.

That makes more sense now, thank you kindly for the explanation! Issue hereby solved!

Kind regards,

CrazyGentleman
"The truth is of highest importance, and only with the truth can one move forward."