Please, mates can you post example of working code?
Well, this code works fine:
Code:
events.FactionTurnStart[#events.FactionTurnStart+1] = function(context)
if CampaignUI.IsPlayersTurn() == true and conditions.TurnNumber(context) == 1 then
if conditions.FactionIsHuman("uesugi", context) then
scripting.game_interface:create_force(--[FACTION]--
"uesugi",
--[SPECIFIC ARMY LIST]--
"Inf_Missile_Matchlock_Warrior_Monks_Uesugi,Inf_Heavy_Naginata_Warrior_Monk_Hero_Uesugi,Inf_Sword_Katana_Hero_Shimazu",
--[COORDINATES]--
55.0, -85.0,
--[ID]--
"Avans",
--[USE_COMMAND_QUEUE]--
true)
end
end
end
But how to find out appropriate coordinates?