Give center to lord
From Mount&Blade Modding Wiki
Contents |
Description
give_center_to_lord (also known as script_give_center_to_lord) will change ownership of a town or castle to a particular lord. This function can add a garrison of appropriate size with random experience for the units. It automatically calculates objections, gratitude, and jealousies.
Inputs
arg1 | = center (party ID) |
arg2 | = Lord (troop ID) (-1 only in the case of a player deferring ownership of a center) |
arg3 | = Garrison? (bool) |
Outputs
none.
Examples
(call_script, "script_give_center_to_lord", "p_castle_35", "trp_knight_1_3", 0), #Haringoth_Castle