A number of very important things are revealed here, but most importantly it is this one:
Code:
Identifier: faction_emerge
Parameters: emerging_faction, target_faction, min_num_remain, max_order_threshold, max_order_threshold_surrounding, max_order_dropoff, min_level_threshold, fire_emerge_message, leader_script_label, leader_name, leader_age
Description: Evaluates the target factions settlements with a settlement level >= min_level_threshold and public order <= max_order_threshold. If the settlement with the lowest order fails, is it turned over to the emerge_faction. The leader_script_label and leader_name are used if a new leader is required. min_num_remain specifies the minimum number of settlements for the target faction to keep. Surrounding regions are also evaluated against the surrounding threshold.
Sample use: faction_emerge barons_alliance England 1 85.0 100.0 1.2 town false edward1 Edward 30
Class: FACTION_EMERGE
Implemented: Yes
Author: ScottL
And almost as importantly,
Code:
Identifier: set_faction_standing
Parameters: faction, faction, amount
Description: Changes first faction's standing towards second faction.
Sample use: set_faction_standing England France -0.8
Class: SET_FACTION_STANDING
Implemented: Yes
Author: Mark