Get relation between parties
From Mount&Blade Modding Wiki
Contents |
[edit] Description
get_relation_between_parties (also known as script_get_relation_between_parties) is a function defined in module_scripts.py that takes two party IDs as parameters and returns the relationship value. This is similar to store_relation but uses Party IDs instead of Kingdom IDs as parameters.
[edit] Input
arg1 = party 1
arg2 = party 2
[edit] Output
reg0 = relation between parties
[edit] Examples
(call_script, "script_get_relation_between_parties", ":destination", ":troop_party_no"), (try_begin), (ge, reg0, 0), ... (else_try),