Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
IGSquadSBP = BP_GetSquadBlueprint("imperial_guardsman_squad")
HVSquadSBP = BP_GetSquadBlueprint("house_varlock_guard")
ChaosSquadSBP = BP_GetSquadBlueprint("bloodletter")
local center = Util_ScarPos(0, 0)
local startPos = Player_GetStartingPosition(teamOnePlayer)
local race = Player_GetRaceName(teamOnePlayer)
if race == "orks" then
OrkBonus = SGroup_CreateIfNotFound("OrkBonus")
Util_DeploySquads(SPAWN.Ork_Rokk, teamOnePlayer, OrkBonus, Prox_GetRandomPosition(startPos, 40, 20), {{sbp = SBP.ORKS.BLOODLETTER}})
end
if race == "eldar" then
EldarBonus1 = SGroup_CreateIfNotFound("EldarBonus1")
Util_DeploySquads(SPAWN.Eldar_Webway, teamOnePlayer, EldarBonus1, Prox_GetRandomPosition(startPos, 150, 100), {{sbp = SBP.ELDAR.HOUSE_VARLOCK_GUARD}})
end
if race == "space_marines" then
SMBonus = SGroup_CreateIfNotFound("SMBonus")
Util_DeploySquads(SPAWN.SM_Thunderhawk, teamOnePlayer, SMBonus, Prox_GetRandomPosition(startPos, 40, 20), {{sbp = SBP.SPACE_MARINES.IMPERIAL_GUARDSMAN_SQUAD}})
end
end
How did you put the Imperial Guard in your mod? When I try to make them buildable in the SM HQ, the icon and text is there, but when I build them, I only get pink boxes with "This model has not been precached"