Originally Posted by
-TopCat-
I'll take a look now -I've got Winhex, but rarely use it - I suppose now would be a good time to learn
But how were the units that I mentioned spwawned then? I'm pretty sure that they wern't the result of the mission. They added a few new script commands in NTW, so hopefully I'll get something
Nevermind. It might have helped if I had looked at the scripts.
Code:
--
-- Mission 2 - The Liberation of Milan
--
local function liberate_milan()
out.ting ("The Liberation of Milan")
scripting.game_interface:trigger_custom_mission("ita_liberate_milan",
"ita_french_republic", "capture_city", 0, "ita_milano",
"mission_text_text_ita_liberate_milan_heading",
"mission_text_text_ita_liberate_milan_text",
"", 0, "", context,
true, "money:1000,grant_unit:Inf_Line_French_Revolutionary_Infantry#settlement:ita_milano:milan,enable_recruitment:Inf_Line_French_Milan_Revolutionary_Infantry")
end