Thanks that worked. Still can't get the option to work sadly.
Please enclose your script in code tags next time, like so:
Code:
[code]
script
[\code]
With that out of the way, your use of
holder_scsope
makes no sense. It's used in ROOT, which is the character receiving the event, but only titles have holders.Try this version:
Code:
namespace = reinforcements
# Reinforcements
character_event = {
id = reinforcements.1
desc = "EVTDESCreinforcements.1"
picture = "GFX_event_beach_landing"
hide_from = yes
is_triggered_only = yes
immediate = {
spawn_unit = {
province = 334 # Napoli
owner = ROOT
leader = ROOT
troops = {
archers = { 500 500 }
heavy_infantry = { 1000 1000 }
light_infantry = { 300 300 }
light_cavalry = { 150 150 }
knights = { 50 50 }
}
attrition = 1.0
}
spawn_fleet = {
province = 334 # Napoli
owner = ROOT
disband_on_peace = yes
earmark = hectors_invasion_fleet
troops = {
galleys = { 20 20 }
}
}
}
option = {
name = "EVTOPTAreinforcements.1"
c_80101 = {
give_minor_title = title_commander
}
spawn_unit = { #Spawn Armand
province = 337 # Catanzaro
owner = THIS
leader = c_80101
disband_on_peace = yes
troops = {
archers = { 200 200 }
heavy_infantry = { 1200 1200}
light_infantry = { 600 600 }
}
attrition = 1.0
}
}
}