There is a problem in heraldic horse trigger. When you enter in battlefield and there are some heraldic horses, sometimes happens triggers errors. Invalid agent_id or invalid troop_id and heraldic horses are black without banner in this situation until the next round will begin. It's not critical but annoying. I experemented with this trigger but this bug is still here. Can you help with it?
(try_begin), #for in missions
(agent_is_active, ":agent_no"),
(agent_get_rider, ":agent_no", ":agent_no"),
(try_begin),
(eq, ":agent_no", -1),
(assign, ":troop_no",0),
(else_try),
(agent_get_troop_id, ":troop_no", ":agent_no"),
(try_end),
(else_try),
(assign, ":agent_no",-1),
(assign, ":troop_no",0),
(try_end),
(call_script, "script_shield_item_set_banner", "tableau_wse_charger", ":agent_no", ":troop_no")