I have been trying to change the naval battle scenes, putting a condition in the join_attack and encounter_attack menu, because I will put different ships according to the attacker or defender, but whatever the encounter, it always pulls me to the same scene and it is necessary because to create the boarding ai_mesh, they don't match. The ships have different shapes, so I put a condition in the mission to change the ship type and this works fine.
In the menu already named, there are 3 conditions to change the scene according to the number of soldiers in battle and that worked well, but now I don't care about the number of soldiers, I just want the scene to change depending on who you fight with.
this is what i did ...
I deleted the quantity conditions and put the meeting conditions in both menus,
What am I missing?
In the menu already named, there are 3 conditions to change the scene according to the number of soldiers in battle and that worked well, but now I don't care about the number of soldiers, I just want the scene to change depending on who you fight with.
this is what i did ...
I deleted the quantity conditions and put the meeting conditions in both menus,
What am I missing?
Code:
(try_begin),
(this_or_next|eq, "$g_encountered_party_faction", "fac_kingdom_1"),
(this_or_next|eq, "$g_encountered_party_faction", "fac_kingdom_2"),
(this_or_next|eq, "$g_encountered_party_faction", "fac_kingdom_4"),
(this_or_next|eq, "$g_encountered_party_faction", "fac_kingdom_5"),
(this_or_next|eq, "$g_encountered_party_faction", "fac_kingdom_6"),
(eq, "$g_encountered_party_faction", "fac_kingdom_7"),
(assign,"$g_my_ship", "spr_frigate1"),
(jump_to_scene, "scn_sea_4"),
(else_try),
(eq, "$g_encountered_party_faction", "fac_outlaws"),
(assign,"$g_my_ship", "spr_ship1"),
(jump_to_scene, "scn_sea_2"),
(else_try),
(assign,"$g_my_ship","spr_frigate2"),
(assign,"$g_ship2","spr_ship2"),
(jump_to_scene, "scn_sea_1"),
(try_end),