kas2b_con
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Moderator: Moderators

This. You can't just make up class types; you have to use a class type that already exists in the setup_teams script. For example, you'd open up setup_teams.lua and add the desired class to typeList.kas2b_con.lua wrote:custom = {"all_inf_smuggler_fleet",1, 4},
Or, alternatively, you could just go with AddUnitClass(), like such:setup_teams.lua wrote:-- list of types
local typeList = { "soldier", "assault", "sniper", "engineer", "adept", "sentinel", "vanguard", "shock", "destroyer", "prime", "support", "scion" }
Code: Select all
AddUnitClass(teamID, "all_inf_smuggler_fleet",1, 4)

Code: Select all
custom = {"",1, 4},
