Results 1 to 7 of 7

Thread: Lua Game Functions

  1. #1
    Inevitability won
    Patrician Citizen

    Join Date
    Mar 2010
    Posts
    9,594

    Icon1 Lua Game Functions

    The ATTILA iteration of these threads for NTW, S2TW and R2TW.

    This is essentially the useful output from getfenv(), though a little bit more organized, cleaned and stripped down. CA wrappers have also been removed.

    The raw output is available here: http://pastebin.com/1RNFVV8G
    The cleaned output is also available in text form if you prefer: http://pastebin.com/G5qSuC0K

    This thread is just a reference, please don't use this thread for questions about the functions or for general scripting questions. Thanks.





    GAME (game_interface)
    Example: scripting.game_interface:treasury_mod("fac_name", 10000);
    Spoiler Alert, click show to read: 

    disable_pathfinding_restriction
    force_rebellion_in_region
    set_event_generation_enabled
    join_garrison
    remove_visibility_trigger
    steal_user_input
    enable_movement_for_faction
    make_region_seen_in_shroud
    remove_time_trigger
    remove_custom_battlefield
    force_add_ancillary
    seek_exchange
    apply_effect_bundle_to_force
    fade_volume
    instant_set_building_health_percent
    add_location_trigger
    add_restricted_building_level_record
    make_sea_region_visible_in_shroud
    technology_osmosis_for_playables_enable_all
    set_campaign_ai_force_all_factions_boardering_humans_to_have_invasion_behaviour
    leave_garrison
    add_exclusion_zone
    show_message_event
    disable_movement_for_character
    remove_marker
    make_neighbouring_regions_seen_in_shroud
    disable_shopping_for_ai_under_shroud
    disable_end_turn
    dismiss_advice_at_end_turn
    optional_extras_for_episodics
    win_next_autoresolve_battle
    set_non_scripted_ancillaries_disabled
    take_shroud_snapshot
    set_volume
    display_turns
    show_shroud
    load_named_value
    add_visibility_trigger
    stop_user_input
    disable_elections
    add_development_points_to_region
    add_unit_model_overrides
    set_public_order_of_province_for_region
    make_neighbouring_regions_visible_in_shroud
    add_outline_area_trigger
    register_outro_movie
    scroll_camera_with_direction
    force_add_trait
    set_technology_research_disabled
    set_ai_uses_human_display_speed
    is_new_game
    advance_to_next_campaign
    show_message_event_located
    make_region_visible_in_shroud
    remove_event_restricted_building_record
    set_ui_notification_of_victory_disabled
    zero_action_points
    enable_ui
    add_time_trigger
    cai_strategic_stance_manager_block_all_stances_but_that_specified_towards_target_faction
    trigger_custom_mission
    make_son_come_of_age
    force_diplomacy
    remove_event_restricted_unit_record
    register_movies
    force_assassination_success_for_human
    add_restricted_building_level_record_for_faction
    cai_strategic_stance_manager_force_stance_update_between_factions
    save_named_value
    restore_shroud_from_snapshot
    cai_strategic_stance_manager_promote_specified_stance_towards_target_faction
    add_building_model_override
    disable_movement_for_faction
    remove_building_model_override
    trigger_custom_dilemma
    cai_strategic_stance_manager_clear_all_blocking_between_factions
    create_force
    force_agent_action_success_for_human
    remove_attack_of_opportunity_overrides
    scroll_camera
    remove_area_trigger
    grant_faction_handover
    add_circle_area_trigger
    disable_saving_game
    autosave_at_next_opportunity
    kill_character
    exempt_region_from_tax
    set_region_abandoned
    stop_sound
    remove_restricted_building_level_record
    disable_rebellions_worldwide
    play_movie_in_ui
    appoint_character_to_most_expensive_force
    set_zoom_limit
    set_imperium_level_change_disabled
    remove_restricted_building_level_record_for_faction
    unlock_technology
    spawn_character_into_family_tree
    set_ignore_end_of_turn_public_order
    pending_auto_show_messages
    set_campaign_ai_force_all_factions_boardering_human_vassals_to_have_invasion_behaviour
    remove_event_restricted_unit_record_for_faction
    set_character_immortality
    enable_auto_generated_missions
    move_to
    force_make_trade_agreement
    register_instant_movie
    speedup_active
    set_non_scripted_traits_disabled
    faction_offers_peace_to_other_faction
    cai_strategic_stance_manager_set_stance_blocking_between_factions_for_a_given_stance
    cai_strategic_stance_manager_clear_all_promotions_between_factions
    force_character_force_into_stance
    make_sea_region_seen_in_shroud
    end_turn
    set_general_offered_dilemma_permitted
    cai_strategic_stance_manager_set_stance_promotion_between_factions_for_a_given_stance
    cai_strategic_stance_manager_promote_specified_stance_towards_target_faction_by_number
    set_public_order_disabled_for_province_for_region
    model
    render_campaign_to_file
    disable_movement_for_ai_under_shroud
    set_tax_rate
    remove_event_restricted_building_record_for_faction
    add_event_restricted_building_record_for_faction
    technology_osmosis_for_playables_enable_culture
    add_event_restricted_building_record
    award_experience_level
    add_event_restricted_unit_record_for_faction
    add_event_restricted_unit_record
    set_tax_disabled
    set_character_skill_tier_limit
    hide_character
    apply_effect_bundle_to_characters_force
    force_change_cai_faction_personality
    modify_next_autoresolve_battle
    set_only_allow_basic_recruit_stance
    lock_technology
    instantly_repair_building
    remove_effect_bundle_from_characters_force
    add_custom_battlefield
    remove_effect_bundle
    disable_shortcut
    shutdown
    override_ui
    replenish_action_points
    force_garrison_infiltration_success_for_human
    attack
    add_attack_of_opportunity_overrides
    stop_camera
    remove_location_trigger
    create_agent
    add_marker
    allow_player_to_embark_navies
    compare_localised_string
    enable_movement_for_character
    add_agent_experience
    grant_unit
    set_character_experience_disabled
    override_attacker_win_chance_prediction
    instantly_dismantle_building
    dismiss_advice
    play_sound
    new
    unhide_character
    apply_effect_bundle
    remove_settlement_model_override
    cancel_actions_for
    force_make_peace
    shown_message
    treasury_mod
    force_declare_war
    add_settlement_model_override
    set_liberation_options_disabled
    set_looting_options_disabled_for_human
    force_add_skill
    remove_effect_bundle_from_force
    force_make_vassal
    cancel_custom_mission
    toggle_speedup


    CHARACTER_SCRIPT_INTERFACE

    Spoiler Alert, click show to read: 

    gravitas
    offensive_battles_fought
    battles_won
    number_of_traits
    defensive_naval_battles_fought
    offensive_naval_battles_won
    action_points_remaining_percent
    defensive_sieges_won
    is_carrying_troops
    age
    offensive_sieges_fought
    garrison_residence
    has_ancillary
    forename
    is_blockading
    performed_action_this_turn
    has_trait
    military_force
    has_garrison_residence
    trait_points
    turns_in_enemy_regions
    logical_position_x
    is_faction_leader
    logical_position_y
    offensive_ambush_battles_won
    character_type
    in_port
    faction
    battles_fought
    defensive_naval_battles_won
    is_male
    has_region
    get_forename
    body_guard_casulties
    offensive_sieges_won
    turns_in_own_regions
    offensive_battles_won
    is_politician
    display_position_y
    region
    turns_at_sea
    routed_in_battle
    model
    family_member
    mother
    is_besieging
    has_mother
    defensive_ambush_battles_fought
    cqi
    has_father
    loyalty
    in_settlement
    is_ambushing
    rank
    has_recruited_mercenaries
    defensive_battles_fought
    is_hidden
    fought_in_battle
    is_deployed
    new
    has_military_force
    defensive_sieges_fought
    action_points_per_turn
    has_skill
    is_embedded_in_military_force
    defensive_battles_won
    defensive_ambush_battles_won
    offensive_ambush_battles_fought
    won_battle
    father
    get_surname
    offensive_naval_battles_fought
    percentage_of_own_alliance_killed
    surname
    display_position_x
    trait_level


    CHARACTER_LIST_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    is_empty
    item_at
    num_items
    new


    FAMILY_MEMBER_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    has_trait
    father
    mother
    come_of_age
    has_mother
    has_father
    new


    FACTION_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    trade_value
    character_list
    losing_money
    home_region
    trade_route_limit_reached
    upkeep_expenditure_percent
    imperium_level
    allied_with
    ancillary_exists
    at_war
    unused_international_trade_route
    military_force_list
    tax_level
    is_human
    model
    research_queue_idle
    trade_resource_exists
    num_generals
    faction_leader
    num_allies
    treasury
    subculture
    new
    culture
    is_horde
    state_religion
    at_war_with
    started_war_this_turn
    treasury_percent
    has_food_shortage
    sea_trade_route_raided
    has_faction_leader
    ended_war_this_turn
    region_list
    has_technology
    name
    trade_ship_not_in_trade_node
    trade_value_percent
    has_home_region


    FACTION_LIST_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    is_empty
    item_at
    num_items
    new


    UNIT_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    unit_category
    military_force
    is_naval_unit
    has_unit_commander
    can_upgrade_unit_equipment
    force_commander
    can_upgrade_unit
    percentage_proportion_of_full_strength
    faction
    unit_commander
    unit_key
    model
    unit_class
    is_land_unit
    has_force_commander
    new


    UNIT_LIST_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    item_at
    num_items
    has_unit
    is_empty
    new


    WORLD_SCRIPT_INTERFACE

    Spoiler Alert, click show to read: 

    climate_phase_index
    ancillary_exists
    faction_exists
    model
    region_manager
    faction_by_key
    faction_list
    new


    REGION_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    resource_exists
    settlement
    town_wealth_growth
    slot_list
    adjacent_region_list
    num_buildings
    last_building_constructed_key
    building_superchain_exists
    new
    sanitation
    slot_type_exists
    building_exists
    has_governor
    squalor
    owning_faction
    governor
    name
    model
    region_wealth_change_percent
    majority_religion
    public_order
    garrison_residence


    REGION_MANAGER_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    faction_region_list
    resource_exists_anywhere
    region_list
    model
    region_by_key
    settlement_by_key
    slot_by_key
    new


    REGION_LIST_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    is_empty
    item_at
    num_items
    new


    BUILDING_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    superchain
    region
    percent_health
    name
    faction
    chain
    model
    slot
    new


    BUILDING_LIST_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    is_empty
    item_at
    num_items
    new


    SLOT_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    name
    type
    has_building
    model
    building
    faction
    region
    new


    SLOT_LIST_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    item_at
    num_items
    buliding_type_exists
    slot_type_exists
    is_empty
    new


    GARRISON_RESIDENCE_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    navy
    slot_interface
    has_army
    region
    unit_count
    can_assault
    army
    settlement_interface
    is_slot
    is_settlement
    buildings
    faction
    has_navy
    is_under_siege
    model
    new


    MILITARY_FORCE_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    general_character
    contains_mercenaries
    is_army
    active_stance
    has_general
    character_list
    upkeep
    garrison_residence
    is_navy
    can_activate_stance
    model
    has_garrison_residence
    unit_list
    faction
    new

    MILITARY_FORCE_LIST_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    is_empty
    item_at
    num_items
    new


    SETTLEMENT_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    region
    logical_position_y
    has_commander
    slot_list
    display_position_x
    faction
    model
    logical_position_x
    commander
    display_position_y
    new


    MODEL_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    player_steam_id_is_odd
    difficulty_level
    season
    campaign_type
    character_can_reach_character
    new
    campaign_ai
    random_percent
    is_multiplayer
    date_in_range
    date_and_week_in_range
    is_player_turn
    world
    faction_is_local
    turn_number
    pending_battle
    campaign_name


    PENDING_BATTLE_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    attacker_battle_result
    percentage_of_attacker_killed
    percentage_of_defender_killed
    naval_battle
    attacker_commander_fought_in_battle
    night_battle
    is_active
    defender
    defender_strength
    battle_type
    defender_commander_fought_in_melee
    new
    seige_battle
    has_contested_garrison
    failed_ambush_battle
    ambush_battle
    defender_commander_fought_in_battle
    attacker_strength
    attacker
    has_defender
    attacker_commander_fought_in_melee
    defender_battle_result
    percentage_of_defender_routed
    model
    attacker_is_stronger
    percentage_of_attacker_routed
    has_attacker
    contested_garrison


    CAMPAIGN_MISSION_SCRIPT_INTERFACE
    Spoiler Alert, click show to read: 

    faction
    mission_issuer_record_key
    model
    mission_record_key
    new


    CAMPAIGN_AI_SCRIPT_INTERFACE

    Spoiler Alert, click show to read: 

    strategic_stance_between_factions_promotion_is_active
    strategic_stance_between_factions_promotion_start_round
    strategic_stance_between_factions_is_being_blocked
    strategic_stance_between_factions_is_being_blocked_until
    strategic_stance_between_factions_promotion_end_level
    strategic_stance_between_factions_promotion_end_round
    strategic_stance_between_factions_available
    strategic_stance_between_factions_promotion_or_blocking_is_set
    strategic_stance_between_factions_promotion_current_level
    strategic_stance_between_factions
    strategic_stance_between_factions_promotion_start_level
    new


    CAMPAIGNUI
    Spoiler Alert, click show to read: 

    SetCameraHeading
    unhighlight_position
    ClearSelection
    ToggleCinematicBorders
    clear_highlights
    SetCameraTarget
    unhighlight_settlement
    HighlightComponent
    OverrideLoadingScreenText
    unhighlight_character
    highlight_position
    SetCameraTargetInstant
    ShowObjective
    highlight_character
    IsPreBattleTypeSiege
    SetCameraZoom
    CurrentTabTypename
    ToggleScreenCover
    HighlightRecruitmentItem
    GetCameraPosition
    highlight_settlement
    HighlightConstructionItem
    IsMultiplayer


    UICOMPONENT
    Spoiler Alert, click show to read: 

    Visible
    Highlight
    ChildCount
    TextDimensions
    IsDragged
    Divorce
    PopulateTextures
    SetState
    ReorderChildren
    SetImageRotation
    CurrentState
    SetDragged
    DockingPoint
    Id
    HasInterface
    DestroyChildren
    ClearSound
    TriggerAnimation
    IsCharPrintable
    PropagateOpacity
    Parent
    GetStateTextDetails
    SetVisible
    SetGlobal
    ForceEvent
    SetTooltipTextWithRLSKey
    SetProperty
    GlobalExists
    FindTextSnapPosition
    TextShaderTechniqueSet
    SaveUIHeirarchy
    Layout
    InterfaceFunction
    StealShortcutKey
    Position
    Height
    IsMouseOverChildren
    LuaCall
    GetStateText
    SetTooltipText
    Opacity
    IsInteractive
    SetImageColour
    Priority
    Resize
    PropagatePriority
    SetStateTextDetails
    SetMoveable
    CurrentStateUI
    GetTooltipText
    Width
    ShaderTechniqueGet
    Bounds
    LockPriority
    SetDockingPoint
    CurrentAnimationId
    CreateComponent
    SimulateKey
    Adopt
    ShaderTechniqueSet
    PropagateImageColour
    AttachCustomControl
    SetStateColours
    SequentialFind
    UnLockPriority
    SetInteractive
    TextShaderVarsSet
    WidthOfTextLine
    TriggerShortcut
    FindPositionIntoCurrentText
    CallbackId
    RestoreUIHeirarchy
    ShaderVarsSet
    SetStateTextXOffset
    TextShaderVarsGet
    new
    RunScript
    SetDisabled
    SetEventCallback
    SetStateText
    PropagateVisibility
    Find
    MoveTo
    SimulateClick
    IsMoveable
    GetProperty
    Address
    SetOpacity
    StealInputFocus
    ShaderVarsGet
    Dimensions

  2. #2
    Den Stark's Avatar Tiro
    Join Date
    May 2012
    Location
    Vladivostok
    Posts
    248

    Default Re: Lua Game Functions

    Thank U! There are working examples of how to use it? This is very interesting!

  3. #3
    Den Stark's Avatar Tiro
    Join Date
    May 2012
    Location
    Vladivostok
    Posts
    248

    Default Re: Lua Game Functions

    Can not use the scripts yet?

  4. #4
    Litharion's Avatar Artifex
    Join Date
    Sep 2013
    Location
    Germany
    Posts
    2,622

    Default Re: Lua Game Functions

    As the Empires of Sand Culture Pack and probably the Last Roman Campaign pack added a lot of new and quite interesting scripted features we have some new scripting commands to work with like set_faction_name_override and finally apply_effect_bundle_to_region. I logged the whole list and added a comprehensive list of the game interface function list containing the new ones.

    Game Interface with new functions
    Spoiler Alert, click show to read: 
    Code:
        disable_pathfinding_restriction
        force_rebellion_in_region    
        trigger_incident    
        set_event_generation_enabled    
        join_garrison    
        remove_visibility_trigger    
        steal_user_input    
        enable_movement_for_faction    
        make_region_seen_in_shroud    
        remove_time_trigger    
        force_break_military_alliance    
        remove_custom_battlefield    
        force_add_ancillary    
        seek_exchange    
        apply_effect_bundle_to_force    
        fade_volume    
        apply_effect_bundle_to_region    
        add_location_trigger    
        add_restricted_building_level_record    
        make_sea_region_visible_in_shroud    
        technology_osmosis_for_playables_enable_all    
        set_campaign_ai_force_all_factions_boardering_humans_to_have_invasion_behaviour    
        leave_garrison    
        add_exclusion_zone    
        show_message_event    
        shown_message    
        remove_marker    
        add_attack_of_opportunity_overrides    
        disable_shopping_for_ai_under_shroud    
        disable_end_turn    
        trigger_mission    
        dismiss_advice_at_end_turn    
        optional_extras_for_episodics    
        win_next_autoresolve_battle    
        set_non_scripted_ancillaries_disabled    
        take_shroud_snapshot    
        set_volume    
        display_turns    
        show_shroud    
        load_named_value    
        add_visibility_trigger    
        stop_user_input    
        disable_elections    
        add_development_points_to_region    
        add_unit_model_overrides    
        set_public_order_of_province_for_region    
        make_neighbouring_regions_visible_in_shroud    
        add_outline_area_trigger    
        register_outro_movie    
        scroll_camera_with_direction    
        force_add_trait    
        set_technology_research_disabled    
        set_ai_uses_human_display_speed    
        is_new_game    
        advance_to_next_campaign    
        show_message_event_located    
        make_region_visible_in_shroud    
        remove_event_restricted_building_record    
        set_ui_notification_of_victory_disabled    
        zero_action_points    
        enable_ui    
        add_time_trigger    
        cai_strategic_stance_manager_block_all_stances_but_that_specified_towards_target_faction    
        trigger_custom_mission    
        make_son_come_of_age    
        force_diplomacy    
        remove_event_restricted_unit_record    
        register_movies    
        force_assassination_success_for_human    
        set_faction_name_override    
        add_restricted_building_level_record_for_faction    
        cai_strategic_stance_manager_force_stance_update_between_factions    
        save_named_value    
        force_change_cai_faction_personality    
        restore_shroud_from_snapshot    
        trigger_dilemma    
        add_building_model_override    
        add_unit_to_force    
        disable_movement_for_faction    
        set_faction_summary_override    
        remove_building_model_override    
        force_add_skill    
        force_break_defensive_alliance    
        force_break_alliance    
        exempt_region_from_tax    
        trigger_custom_dilemma    
        cai_strategic_stance_manager_clear_all_blocking_between_factions    
        set_region_abandoned    
        create_force    
        force_agent_action_success_for_human    
        remove_attack_of_opportunity_overrides    
        scroll_camera    
        remove_area_trigger    
        stop_sound    
        remove_effect_bundle    
        grant_faction_handover    
        play_movie_in_ui    
        add_circle_area_trigger    
        disable_saving_game    
        infect_region_with_plague    
        kill_character    
        infect_force_with_plague    
        appoint_character_to_most_expensive_force    
        set_imperium_level_change_disabled    
        apply_effect_bundle    
        instantly_repair_building    
        spawn_character_into_family_tree    
        set_character_immortality    
        set_zoom_limit    
        faction_offers_peace_to_other_faction    
        remove_restricted_building_level_record_for_faction    
        cai_strategic_stance_manager_set_stance_blocking_between_factions_for_a_given_stance    
        cai_strategic_stance_manager_clear_all_promotions_between_factions    
        set_ignore_end_of_turn_public_order    
        pending_auto_show_messages    
        set_campaign_ai_force_all_factions_boardering_human_vassals_to_have_invasion_behaviour    
        remove_event_restricted_unit_record_for_faction    
        cai_strategic_stance_manager_set_stance_promotion_between_factions_for_a_given_stance    
        enable_auto_generated_missions    
        move_to    
        force_make_trade_agreement    
        register_instant_movie    
        speedup_active    
        set_non_scripted_traits_disabled    
        cai_strategic_stance_manager_promote_specified_stance_towards_target_faction_by_number    
        cai_strategic_stance_manager_promote_specified_stance_towards_target_faction    
        set_public_order_disabled_for_province_for_region    
        force_character_force_into_stance    
        make_sea_region_seen_in_shroud    
        end_turn    
        set_general_offered_dilemma_permitted    
        model    
        render_campaign_to_file    
        remove_event_restricted_building_record_for_faction    
        add_event_restricted_building_record_for_faction    
        add_event_restricted_building_record    
        add_settlement_model_override    
        force_make_peace    
        add_event_restricted_unit_record_for_faction    
        add_event_restricted_unit_record    
        technology_osmosis_for_playables_enable_culture    
        autosave_at_next_opportunity    
        award_experience_level    
        set_character_skill_tier_limit    
        remove_effect_bundle_from_characters_force    
        set_tax_disabled    
        force_garrison_infiltration_success_for_human    
        instant_set_building_health_percent    
        apply_effect_bundle_to_characters_force    
        unlock_technology    
        lock_technology    
        set_only_allow_basic_recruit_stance    
        override_ui    
        replenish_action_points    
        remove_effect_bundle_from_region    
        add_custom_battlefield    
        disable_movement_for_ai_under_shroud    
        disable_shortcut    
        shutdown    
        modify_next_autoresolve_battle    
        instantly_dismantle_building    
        set_looting_options_disabled_for_human    
        attack    
        set_tax_rate    
        stop_camera    
        remove_location_trigger    
        create_agent    
        add_marker    
        allow_player_to_embark_navies    
        compare_localised_string    
        disable_rebellions_worldwide    
        add_agent_experience    
        grant_unit    
        set_character_experience_disabled    
        override_attacker_win_chance_prediction    
        remove_restricted_building_level_record    
        dismiss_advice    
        play_sound    
        new    
        unhide_character    
        force_make_vassal    
        remove_settlement_model_override    
        cancel_actions_for    
        disable_movement_for_character    
        hide_character    
        treasury_mod    
        force_declare_war    
        make_neighbouring_regions_seen_in_shroud    
        enable_movement_for_character    
        set_liberation_options_disabled    
        force_break_non_aggression_pact    
        remove_effect_bundle_from_force    
        cancel_custom_mission    
        override_mission_succeeded_status    
        toggle_speedup



    A simple and horribly formatted printout of all game functions and tables:
    Spoiler Alert, click show to read: 
    Code:
    UNIT_SCRIPT_INTERFACE    table: 578DEFC0
    
    
            unit_category    function: 578DF440
    
    
            military_force    function: 578DF460
    
    
            unit_class    function: 578DF540
    
    
            new    function: 578BB7E0
    
    
            is_naval_unit    function: 578DF3A0
    
    
            has_unit_commander    function: 578DF280
    
    
            can_upgrade_unit_equipment    function: 578DF500
    
    
            force_commander    function: 578DF3C0
    
    
            can_upgrade_unit    function: 578DF5E0
    
    
            is_land_unit    function: 578DF360
    
    
            unit_commander    function: 578DF400
    
    
            percentage_proportion_of_full_strength    function: 578DF5A0
    
    
            model    function: 578DF2C0
    
    
            faction    function: 578DF4A0
    
    
            unit_key    function: 578DF2E0
    
    
            is_null_interface    function: 578DF300
    
    
            has_force_commander    function: 578DF160
    
    
    UNIT_LIST_SCRIPT_INTERFACE    table: 578DF560
    
    
            item_at    function: 578DF600
    
    
            num_items    function: 578DF820
    
    
            has_unit    function: 578DF920
    
    
            is_empty    function: 578DF840
    
    
            new    function: 578BB8B8
    
    
    scripting    table: 578F2D60
    
    
            InitFeature    function: 578C5398
    
    
            ClearMessageAutoShowOverrides    function: 578C53C8
    
    
            game_interface    GAME (22661E38)
    
    
            HideComponent    function: 578C45A0
    
    
            HighlightComponent    function: 578C4600
    
    
            _M    table: 578F2D60
    
    
            OverrideMessageAutoShow    function: 578C53B0
    
    
            DisableFeature    function: 578C5380
    
    
            SetCampaign    function: 578C5338
    
    
            _PACKAGE    lua_scripts.
    
    
            AddEventCallBack    function: 578F3D20
    
    
            ClearEventCallbacks    function: 578F3D00
    
    
            ShowHUD    function: 578C4678
    
    
            EnableComponent    function: 578C45E8
    
    
            OnUICreated    function: 578F3CE0
    
    
            _NAME    lua_scripts.episodicscripting
    
    
            HighlightRecruitmentItem    function: 578C4648
    
    
            RevealComponent    function: 578C45D0
    
    
            EnableFeature    function: 578C5350
    
    
            IsOnCampaignMap    function: 578C5320
    
    
            HighlightConstructionItem    function: 578C4618
    
    
    BUILDING_SCRIPT_INTERFACE    table: 578DC900
    
    
            superchain    function: 578DCCC0
    
    
            region    function: 578DCB00
    
    
            percent_health    function: 578DCCA0
    
    
            chain    function: 578DCAA0
    
    
            name    function: 578DCB80
    
    
            faction    function: 578DC9E0
    
    
            slot    function: 578DC7E0
    
    
            model    function: 578DC9C0
    
    
            is_null_interface    function: 578DC960
    
    
            new    function: 578BAFB8
    
    
    FACTION_LIST_SCRIPT_INTERFACE    table: 578D8780
    
    
            is_empty    function: 578DA160
    
    
            item_at    function: 578DA1E0
    
    
            num_items    function: 578DA1C0
    
    
            new    function: 578BA6D0
    
    
    CampaignUI    table: 578E2260
    
    
            SetCameraHeading    function: 578BC0E0
    
    
            unhighlight_position    function: 578BC188
    
    
            ClearSelection    function: 578BC1A0
    
    
            ToggleCinematicBorders    function: 578BC0C8
    
    
            clear_highlights    function: 578BC1B8
    
    
            SetCameraTarget    function: 578BC068
    
    
            unhighlight_settlement    function: 578BC158
    
    
            HighlightComponent    function: 578BBFA8
    
    
            OverrideLoadingScreenText    function: 578BC218
    
    
            unhighlight_character    function: 578BC128
    
    
            highlight_position    function: 578BC170
    
    
            SetCameraTargetInstant    function: 578BC0F8
    
    
            ShowObjective    function: 578BC200
    
    
            highlight_character    function: 578BC110
    
    
            IsPreBattleTypeSiege    function: 578BC1D0
    
    
            UpdateTechButton    function: 578BC320
    
    
            SetCameraZoom    function: 578BC050
    
    
            CurrentTabTypename    function: 578BC1E8
    
    
            ToggleScreenCover    function: 578BC0B0
    
    
            HighlightRecruitmentItem    function: 578BC020
    
    
            GetCameraPosition    function: 578BC080
    
    
            highlight_settlement    function: 578BC140
    
    
            HighlightConstructionItem    function: 578BBFC0
    
    
            IsMultiplayer    function: 578BC098
    
    
    script_messager    table: 578E55C0
    
    
            is_debug    false
    
    
            add_listener    function: 578BDE98
    
    
            listeners    table: 578E5680
    
    
            dump    function: 578BDEC8
    
    
            set_debug    function: 578BDEE0
    
    
            trigger_message    function: 578BDEB0
    
    
            new    function: 578BDE80
    
    
    CampaignCharacter    table: 578E2580
    
    
            ActionPointsRatio    function: 578E25E0
    
    
            Release    function: 578E2600
    
    
            new    function: 578BC5A8
    
    
    SLOT_SCRIPT_INTERFACE    table: 578DC100
    
    
            type    function: 578DC2E0
    
    
            region    function: 578DC460
    
    
            building    function: 578DC600
    
    
            has_building    function: 578DC380
    
    
            model    function: 578DC5C0
    
    
            name    function: 578DC580
    
    
            faction    function: 578DC560
    
    
            is_null_interface    function: 578DC440
    
    
            new    function: 578BADD8
    
    
    REGION_SCRIPT_INTERFACE    table: 578DA7C0
    
    
            resource_exists    function: 578DA9C0
    
    
            settlement    function: 578DA7E0
    
    
            town_wealth_growth    function: 578DABC0
    
    
            slot_list    function: 578DA900
    
    
            adjacent_region_list    function: 578DAC80
    
    
            num_buildings    function: 578DA980
    
    
            last_building_constructed_key    function: 578DAB80
    
    
            building_superchain_exists    function: 578DB2A0
    
    
            new    function: 578BAA30
    
    
            sanitation    function: 578DB360
    
    
            slot_type_exists    function: 578DAA20
    
    
            building_exists    function: 578E0FE0
    
    
            majority_religion_percentage    function: 578DB0C0
    
    
            has_governor    function: 578DAF20
    
    
            squalor    function: 578DB020
    
    
            governor    function: 578DB0E0
    
    
            owning_faction    function: 578DA7A0
    
    
            region_wealth_change_percent    function: 578DAC00
    
    
            name    function: 578DA860
    
    
            model    function: 578DA880
    
    
            majority_religion    function: 578DAAA0
    
    
            public_order    function: 578DA940
    
    
            is_null_interface    function: 578DA6A0
    
    
            garrison_residence    function: 578DA820
    
    
            new    function: 578BD910
    
    
    SLOT_LIST_SCRIPT_INTERFACE    table: 578DC6C0
    
    
            item_at    function: 578DC880
    
    
            num_items    function: 578DC7A0
    
    
            buliding_type_exists    function: 578DC8A0
    
    
            slot_type_exists    function: 578DC940
    
    
            is_empty    function: 578DC780
    
    
            new    function: 578BAEB0
    
    
    REGION_LIST_SCRIPT_INTERFACE    table: 578DB240
    
    
            is_empty    function: 578DB4A0
    
    
            item_at    function: 578DB540
    
    
            num_items    function: 578DB420
    
    
            new    function: 578BAB08
    
    
    ui_override    table: 578EF800
    
    
            get_allowed    function: 578C1990
    
    
            current_state    true
    
    
            __tostring    function: 578C2DB8
    
    
            is_allowed    false
    
    
            name    
    
    
            lock    function: 578C19A8
    
    
            set_allowed    function: 578C1978
    
    
            unlock    function: 578C19C0
    
    
            __index    table: 578EF800
    
    
            new    function: 578C1960
    
    
    SETTLEMENT_SCRIPT_INTERFACE    table: 578DBB00
    
    
            region    function: 578DC0E0
    
    
            logical_position_y    function: 578DBF80
    
    
            has_commander    function: 578DBF20
    
    
            slot_list    function: 578DC080
    
    
            faction    function: 578DC280
    
    
            display_position_x    function: 578DBEE0
    
    
            commander    function: 578DC000
    
    
            model    function: 578DBF60
    
    
            logical_position_x    function: 578DBE20
    
    
            display_position_y    function: 578DC0C0
    
    
            is_null_interface    function: 578DBE00
    
    
            new    function: 578BAD00
    
    
    ui/CoreUtils    table: 578F0D80
    
    
            UnRequireAll    function: 578C3BF8
    
    
            PrintTable    function: 578C3C28
    
    
            RoundToInt    function: 578C3B38
    
    
            NamespaceFile    function: 578C3C10
    
    
            _M    table: 578F0D80
    
    
            Require    function: 578C3BC8
    
    
            TimeString    function: 578C3D18
    
    
            outputbitfield    function: 578C3BB0
    
    
            TruncToInt    function: 578C3B20
    
    
            LoadTable    function: 578C3D00
    
    
            _PACKAGE    
    
    
            Max    function: 578C3B80
    
    
            CopyTable    function: 578C3C40
    
    
            SaveTable    function: 578C3CD0
    
    
            OffsetFrom    function: 578C3CA0
    
    
            Min    function: 578C3B98
    
    
            RupToInt    function: 578C3B50
    
    
            _NAME    ui/CoreUtils
    
    
            UnRequire    function: 578C3BE0
    
    
            PickFGColour    function: 578C3C88
    
    
            CompareByValue    function: 578C3C70
    
    
            Clamp    function: 578C3B68
    
    
            CopyIntoTable    function: 578C3C58
    
    
    MODEL_SCRIPT_INTERFACE    table: 578D74C0
    
    
            has_faction_command_queue_index    function: 578D7960
    
    
            player_steam_id_is_odd    function: 578D7780
    
    
            difficulty_level    function: 578D7760
    
    
            has_character_command_queue_index    function: 578D79C0
    
    
            season    function: 578D78C0
    
    
            campaign_type    function: 578D7880
    
    
            character_can_reach_character    function: 578D7700
    
    
            military_force_for_command_queue_index    function: 578D7860
    
    
            new    function: 578BA508
    
    
            campaign_ai    function: 578D7840
    
    
            random_percent    function: 578D7620
    
    
            character_for_command_queue_index    function: 578D82C0
    
    
            faction_for_command_queue_index    function: 578D78E0
    
    
            has_military_force_command_queue_index    function: 578D79A0
    
    
            is_multiplayer    function: 578D76E0
    
    
            pending_battle    function: 578D7480
    
    
            is_player_turn    function: 578D7720
    
    
            date_and_week_in_range    function: 578D7680
    
    
            campaign_name    function: 578D7640
    
    
            world    function: 578D7500
    
    
            faction_is_local    function: 578D77A0
    
    
            turn_number    function: 578D75C0
    
    
            is_null_interface    function: 578D7460
    
    
            date_in_range    function: 578D7560
    
    
    BUILDING_LIST_SCRIPT_INTERFACE    table: 578DCBE0
    
    
            is_empty    function: 578DD0A0
    
    
            item_at    function: 578DCE60
    
    
            num_items    function: 578DCE00
    
    
            new    function: 578BB2D0
    
    
    GAME    table: 578D9EC0
    
    
            disable_pathfinding_restriction    function: 578D67C0
    
    
            force_rebellion_in_region    function: 578DBDC0
    
    
            trigger_incident    function: 578DCEE0
    
    
            set_event_generation_enabled    function: 578D60C0
    
    
            join_garrison    function: 578E4080
    
    
            remove_visibility_trigger    function: 578DAEE0
    
    
            steal_user_input    function: 578D5400
    
    
            enable_movement_for_faction    function: 578D4600
    
    
            make_region_seen_in_shroud    function: 578D65A0
    
    
            remove_time_trigger    function: 578D4BC0
    
    
            force_break_military_alliance    function: 578DD5C0
    
    
            remove_custom_battlefield    function: 578DC360
    
    
            force_add_ancillary    function: 578DB140
    
    
            seek_exchange    function: 578D4300
    
    
            apply_effect_bundle_to_force    function: 578D5780
    
    
            fade_volume    function: 578DD2C0
    
    
            apply_effect_bundle_to_region    function: 578D5840
    
    
            add_location_trigger    function: 578DDBC0
    
    
            add_restricted_building_level_record    function: 578DDA80
    
    
            make_sea_region_visible_in_shroud    function: 578E2F60
    
    
            technology_osmosis_for_playables_enable_all    function: 578E01E0
    
    
            set_campaign_ai_force_all_factions_boardering_humans_to_have_invasion_behaviour    function: 578D6220
    
    
            leave_garrison    function: 578D4060
    
    
            add_exclusion_zone    function: 578DF480
    
    
            show_message_event    function: 578DAF40
    
    
            shown_message    function: 578D4DE0
    
    
            remove_marker    function: 578E3B20
    
    
            add_attack_of_opportunity_overrides    function: 578D4EA0
    
    
            disable_shopping_for_ai_under_shroud    function: 578DEC60
    
    
            disable_end_turn    function: 578D4700
    
    
            trigger_mission    function: 578DB620
    
    
            dismiss_advice_at_end_turn    function: 578D5640
    
    
            optional_extras_for_episodics    function: 578DEE80
    
    
            win_next_autoresolve_battle    function: 578D5880
    
    
            set_non_scripted_ancillaries_disabled    function: 578D4380
    
    
            take_shroud_snapshot    function: 578D6300
    
    
            set_volume    function: 578DC240
    
    
            display_turns    function: 578D8A20
    
    
            show_shroud    function: 578D90C0
    
    
            load_named_value    function: 578D69A0
    
    
            add_visibility_trigger    function: 578DF900
    
    
            stop_user_input    function: 578D8560
    
    
            disable_elections    function: 578DC4E0
    
    
            add_development_points_to_region    function: 578D6520
    
    
            add_unit_model_overrides    function: 578DB860
    
    
            set_public_order_of_province_for_region    function: 578D6360
    
    
            make_neighbouring_regions_visible_in_shroud    function: 578DACC0
    
    
            add_outline_area_trigger    function: 578D5600
    
    
            register_outro_movie    function: 578D8A80
    
    
            scroll_camera_with_direction    function: 578DBE60
    
    
            force_add_trait    function: 578D4DC0
    
    
            set_technology_research_disabled    function: 578D4500
    
    
            set_ai_uses_human_display_speed    function: 578D63E0
    
    
            is_new_game    function: 578D8600
    
    
            advance_to_next_campaign    function: 578DBFC0
    
    
            show_message_event_located    function: 578DCFA0
    
    
            make_region_visible_in_shroud    function: 578D64A0
    
    
            remove_event_restricted_building_record    function: 578D6100
    
    
            set_ui_notification_of_victory_disabled    function: 578D4520
    
    
            zero_action_points    function: 578D5B60
    
    
            enable_ui    function: 578D4EE0
    
    
            add_time_trigger    function: 578D9720
    
    
            cai_strategic_stance_manager_block_all_stances_but_that_specified_towards_target_faction    function: 578D6620
    
    
            trigger_custom_mission    function: 578D91A0
    
    
            make_son_come_of_age    function: 578D5E40
    
    
            force_diplomacy    function: 578D9740
    
    
            remove_event_restricted_unit_record    function: 578D6160
    
    
            register_movies    function: 578DCF80
    
    
            force_assassination_success_for_human    function: 578DADA0
    
    
            set_faction_name_override    function: 578D7040
    
    
            add_restricted_building_level_record_for_faction    function: 578DF200
    
    
            cai_strategic_stance_manager_force_stance_update_between_factions    function: 578D65E0
    
    
            save_named_value    function: 578D88C0
    
    
            force_change_cai_faction_personality    function: 578D6080
    
    
            restore_shroud_from_snapshot    function: 578DC340
    
    
            trigger_dilemma    function: 578DD6E0
    
    
            add_building_model_override    function: 578D4540
    
    
            add_unit_to_force    function: 578D6FE0
    
    
            disable_movement_for_faction    function: 578D83C0
    
    
            set_faction_summary_override    function: 578EB900
    
    
            remove_building_model_override    function: 578DCDE0
    
    
            force_add_skill    function: 578E2340
    
    
            force_break_defensive_alliance    function: 578DD1E0
    
    
            force_break_alliance    function: 578DD0C0
    
    
            exempt_region_from_tax    function: 578DDB60
    
    
            trigger_custom_dilemma    function: 578DECE0
    
    
            cai_strategic_stance_manager_clear_all_blocking_between_factions    function: 578D6640
    
    
            set_region_abandoned    function: 578DD0E0
    
    
            create_force    function: 578D4720
    
    
            force_agent_action_success_for_human    function: 578D5BE0
    
    
            remove_attack_of_opportunity_overrides    function: 578E0420
    
    
            scroll_camera    function: 578DDB40
    
    
            remove_area_trigger    function: 578D5540
    
    
            stop_sound    function: 578DCCE0
    
    
            remove_effect_bundle    function: 578D56C0
    
    
            grant_faction_handover    function: 578E0720
    
    
            play_movie_in_ui    function: 578D7900
    
    
            add_circle_area_trigger    function: 578D49C0
    
    
            disable_saving_game    function: 578D43C0
    
    
            infect_region_with_plague    function: 578D7F20
    
    
            kill_character    function: 578D5DA0
    
    
            infect_force_with_plague    function: 578D6DC0
    
    
            appoint_character_to_most_expensive_force    function: 578D6800
    
    
            set_imperium_level_change_disabled    function: 578D7020
    
    
            apply_effect_bundle    function: 578D5680
    
    
            instantly_repair_building    function: 578D5CC0
    
    
            spawn_character_into_family_tree    function: 578D6840
    
    
            set_character_immortality    function: 578D6760
    
    
            set_zoom_limit    function: 578D9460
    
    
            faction_offers_peace_to_other_faction    function: 578D6700
    
    
            remove_restricted_building_level_record_for_faction    function: 578DBB40
    
    
            cai_strategic_stance_manager_set_stance_blocking_between_factions_for_a_given_stance    function: 578D6740
    
    
            cai_strategic_stance_manager_clear_all_promotions_between_factions    function: 578D6780
    
    
            set_ignore_end_of_turn_public_order    function: 578D5EA0
    
    
            pending_auto_show_messages    function: 578DB3E0
    
    
            set_campaign_ai_force_all_factions_boardering_human_vassals_to_have_invasion_behaviour    function: 578DB000
    
    
            remove_event_restricted_unit_record_for_faction    function: 578D61A0
    
    
            cai_strategic_stance_manager_set_stance_promotion_between_factions_for_a_given_stance    function: 578D66C0
    
    
            enable_auto_generated_missions    function: 578DED40
    
    
            move_to    function: 578D44A0
    
    
            force_make_trade_agreement    function: 578E1100
    
    
            register_instant_movie    function: 578D5D80
    
    
            speedup_active    function: 578D4940
    
    
            set_non_scripted_traits_disabled    function: 578D43E0
    
    
            cai_strategic_stance_manager_promote_specified_stance_towards_target_faction_by_number    function: 578D6660
    
    
            cai_strategic_stance_manager_promote_specified_stance_towards_target_faction    function: 578D6560
    
    
            set_public_order_disabled_for_province_for_region    function: 578D64E0
    
    
            force_character_force_into_stance    function: 578D6380
    
    
            make_sea_region_seen_in_shroud    function: 578D4F80
    
    
            end_turn    function: 578D4780
    
    
            set_general_offered_dilemma_permitted    function: 578D5F40
    
    
            model    function: 578D62E0
    
    
            render_campaign_to_file    function: 578D62C0
    
    
            remove_event_restricted_building_record_for_faction    function: 578D6200
    
    
            add_event_restricted_building_record_for_faction    function: 578D6280
    
    
            add_event_restricted_building_record    function: 578D6320
    
    
            add_settlement_model_override    function: 578DBEC0
    
    
            force_make_peace    function: 578E11E0
    
    
            add_event_restricted_unit_record_for_faction    function: 578D61C0
    
    
            add_event_restricted_unit_record    function: 578D6140
    
    
            technology_osmosis_for_playables_enable_culture    function: 578D6680
    
    
            autosave_at_next_opportunity    function: 578D5F20
    
    
            award_experience_level    function: 578DEA80
    
    
            set_character_skill_tier_limit    function: 578D5D60
    
    
            remove_effect_bundle_from_characters_force    function: 578D5700
    
    
            set_tax_disabled    function: 578D7080
    
    
            force_garrison_infiltration_success_for_human    function: 578DB7A0
    
    
            instant_set_building_health_percent    function: 578D5DC0
    
    
            apply_effect_bundle_to_characters_force    function: 578D5740
    
    
            unlock_technology    function: 578D5D00
    
    
            lock_technology    function: 578D5EE0
    
    
            set_only_allow_basic_recruit_stance    function: 578D67A0
    
    
            override_ui    function: 578D5D40
    
    
            replenish_action_points    function: 578D5C00
    
    
            remove_effect_bundle_from_region    function: 578D5900
    
    
            add_custom_battlefield    function: 578DD700
    
    
            disable_movement_for_ai_under_shroud    function: 578DD860
    
    
            disable_shortcut    function: 578D54C0
    
    
            shutdown    function: 578DF960
    
    
            modify_next_autoresolve_battle    function: 578D5980
    
    
            instantly_dismantle_building    function: 578D5920
    
    
            set_looting_options_disabled_for_human    function: 578D42A0
    
    
            attack    function: 578D44E0
    
    
            set_tax_rate    function: 578D4B20
    
    
            stop_camera    function: 578DD580
    
    
            remove_location_trigger    function: 578E02E0
    
    
            create_agent    function: 578D59E0
    
    
            add_marker    function: 578E4640
    
    
            allow_player_to_embark_navies    function: 578D6020
    
    
            compare_localised_string    function: 578D9980
    
    
            disable_rebellions_worldwide    function: 578DFCC0
    
    
            add_agent_experience    function: 578D4180
    
    
            grant_unit    function: 578DD1A0
    
    
            set_character_experience_disabled    function: 578D6040
    
    
            override_attacker_win_chance_prediction    function: 578DD160
    
    
            remove_restricted_building_level_record    function: 578D5380
    
    
            dismiss_advice    function: 578D7800
    
    
            play_sound    function: 578DC220
    
    
            new    function: 578BA238
    
    
            unhide_character    function: 578D4A20
    
    
            force_make_vassal    function: 578E1040
    
    
            remove_settlement_model_override    function: 578D99A0
    
    
            cancel_actions_for    function: 578DD500
    
    
            disable_movement_for_character    function: 578D8340
    
    
            hide_character    function: 578D4900
    
    
            treasury_mod    function: 578D5AA0
    
    
            force_declare_war    function: 578D68E0
    
    
            make_neighbouring_regions_seen_in_shroud    function: 578D5F80
    
    
            enable_movement_for_character    function: 578D46E0
    
    
            set_liberation_options_disabled    function: 578D4480
    
    
            force_break_non_aggression_pact    function: 578D6F80
    
    
            remove_effect_bundle_from_force    function: 578D58A0
    
    
            cancel_custom_mission    function: 578DF680
    
    
            override_mission_succeeded_status    function: 578DD980
    
    
            toggle_speedup    function: 578D4880
    
    
    event_handler    table: 578E5340
    
    
            event_callback    function: 578BDC28
    
    
            listeners    table: 578E5380
    
    
            __tostring    function: 578C5440
    
    
            clean_listeners    function: 578BDC40
    
    
            __index    table: 578E5340
    
    
            trigger_event    function: 578BDCA0
    
    
            remove_listener    function: 578BDC58
    
    
            add_listener    function: 578BDBF8
    
    
            list_events    function: 578BDC70
    
    
            attach_to_event    function: 578BDC10
    
    
            register_event    function: 578BDC88
    
    
            attached_events    table: 578E5360
    
    
            new    function: 578BDBC8
    
    
    CHARACTER_LIST_SCRIPT_INTERFACE    table: 578DA4A0
    
    
            is_empty    function: 578DA520
    
    
            item_at    function: 578DA3C0
    
    
            num_items    function: 578DA4E0
    
    
            new    function: 578BA880
    
    
    CHARACTER_SCRIPT_INTERFACE    table: 578DA260
    
    
            gravitas    function: 578D9F80
    
    
            offensive_battles_fought    function: 578DFE00
    
    
            battles_won    function: 578DEFE0
    
    
            number_of_traits    function: 578D9E20
    
    
            defensive_naval_battles_fought    function: 578D8420
    
    
            offensive_naval_battles_won    function: 578E0140
    
    
            action_points_remaining_percent    function: 578DA420
    
    
            defensive_sieges_won    function: 578DC5E0
    
    
            is_carrying_troops    function: 578EB8E0
    
    
            age    function: 578DBD60
    
    
            offensive_sieges_fought    function: 578DC800
    
    
            garrison_residence    function: 578DEC80
    
    
            has_ancillary    function: 578DBA60
    
    
            get_surname    function: 578E08E0
    
    
            is_blockading    function: 578DA0C0
    
    
            performed_action_this_turn    function: 578DBC00
    
    
            has_trait    function: 578DA3A0
    
    
            military_force    function: 578DA2C0
    
    
            has_garrison_residence    function: 578DEC20
    
    
            trait_points    function: 578EB880
    
    
            turns_in_enemy_regions    function: 578DBAA0
    
    
            logical_position_x    function: 578D8A00
    
    
            is_faction_leader    function: 578DC300
    
    
            logical_position_y    function: 578DEA60
    
    
            offensive_ambush_battles_won    function: 578D8240
    
    
            character_type    function: 578D8B20
    
    
            in_port    function: 578D89C0
    
    
            faction    function: 578E0260
    
    
            battles_fought    function: 578DBCC0
    
    
            defensive_naval_battles_won    function: 578D85E0
    
    
            is_male    function: 578DBA20
    
    
            has_region    function: 578DA280
    
    
            get_forename    function: 578E0200
    
    
            body_guard_casulties    function: 578DCA80
    
    
            offensive_sieges_won    function: 578DC6E0
    
    
            turns_in_own_regions    function: 578DC040
    
    
            offensive_battles_won    function: 578DF260
    
    
            is_politician    function: 578D8200
    
    
            display_position_y    function: 578DC820
    
    
            is_besieging    function: 578D9DC0
    
    
            turns_at_sea    function: 578DBDE0
    
    
            routed_in_battle    function: 578D9E60
    
    
            model    function: 578E0160
    
    
            family_member    function: 578DA500
    
    
            is_null_interface    function: 578DA240
    
    
            command_queue_index    function: 578DA440
    
    
            mother    function: 578D8320
    
    
            region    function: 578E0320
    
    
            has_mother    function: 578DA3E0
    
    
            defensive_ambush_battles_fought    function: 578D87E0
    
    
            cqi    function: 578D8840
    
    
            has_father    function: 578DA360
    
    
            loyalty    function: 578DA0E0
    
    
            in_settlement    function: 578E07C0
    
    
            is_ambushing    function: 578DC020
    
    
            rank    function: 578DC540
    
    
            has_recruited_mercenaries    function: 578D9D40
    
    
            defensive_battles_fought    function: 578E0100
    
    
            is_hidden    function: 578D8C60
    
    
            fought_in_battle    function: 578DC920
    
    
            is_deployed    function: 578D9D80
    
    
            new    function: 578BA7A8
    
    
            defensive_sieges_fought    function: 578DC4A0
    
    
            has_military_force    function: 578DA300
    
    
            is_embedded_in_military_force    function: 578D86A0
    
    
            has_skill    function: 578D8680
    
    
            action_points_per_turn    function: 578DBD40
    
    
            defensive_battles_won    function: 578DFDC0
    
    
            defensive_ambush_battles_won    function: 578D8660
    
    
            offensive_ambush_battles_fought    function: 578D85A0
    
    
            won_battle    function: 578DC5A0
    
    
            father    function: 578D9F00
    
    
            offensive_naval_battles_fought    function: 578D8300
    
    
            forename    function: 578E03E0
    
    
            percentage_of_own_alliance_killed    function: 578DAD00
    
    
            surname    function: 578DED80
    
    
            display_position_x    function: 578D91C0
    
    
            trait_level    function: 578D9E80
    
    
    campaign_cutscene    table: 578EA620
    
    
            set_do_not_end    function: 578C0958
    
    
            restore_ui    true
    
    
            action_list    table: 578EA580
    
    
            set_disable_settlement_labels    function: 578C09A0
    
    
            cutscene_length    0
    
    
            was_skipped    false
    
    
            skip_cam_h    false
    
    
            set_use_cinematic_borders    function: 578C0970
    
    
            set_skip_camera    function: 578C09E8
    
    
            is_skippable    true
    
    
            disable_settlement_labels    true
    
    
            name    
    
    
            skip_cam_x    false
    
    
            skip_cam_r    false
    
    
            set_disable_shroud    function: 578C09D0
    
    
            do_not_skip_on_next_advice_dismissal    false
    
    
            action    function: 578C0A30
    
    
            release    function: 578C0B20
    
    
            wait_for_advisor    function: 578C0A78
    
    
            disable_shroud    false
    
    
            finish    function: 578C0B08
    
    
            use_cinematic_borders    true
    
    
            advice_is_dismissed    function: 578C0AD8
    
    
            set_skippable    function: 578C0928
    
    
            is_running    false
    
    
            set_neighbouring_regions_visible    function: 578C09B8
    
    
            dismiss_advice    function: 578C0AC0
    
    
            set_debug    function: 578C08F8
    
    
            reveal_region_by_proximity_action    function: 578C0AA8
    
    
            new    function: 578C08E0
    
    
            skip    function: 578C0AF0
    
    
            process_next_action    function: 578C0A60
    
    
            start    function: 578C0A48
    
    
            is_active    function: 578C0A18
    
    
            dismiss_advice_on_end    true
    
    
            set_dismiss_advice_on_end    function: 578C0940
    
    
            wait_offset    0
    
    
            is_any_cutscene_running    function: 578C0A00
    
    
            is_debug    false
    
    
            set_restore_ui    function: 578C0988
    
    
            neighbouring_regions_visible    false
    
    
            do_not_end    false
    
    
            set_debug_all    function: 578C0910
    
    
            advisor_wait    false
    
    
            reveal_region_by_proximity    function: 578C0A90
    
    
            skip_cam_y    false
    
    
    REGION_MANAGER_SCRIPT_INTERFACE    table: 578DA540
    
    
            region_by_key    function: 578DA400
    
    
            slot_by_key    function: 578DA740
    
    
            resource_exists_anywhere    function: 578DA780
    
    
            settlement_by_key    function: 578DA700
    
    
            model    function: 578DA640
    
    
            faction_region_list    function: 578DA5C0
    
    
            region_list    function: 578DA5A0
    
    
            is_null_interface    function: 578DA5E0
    
    
            new    function: 578BA958
    
    
    PENDING_BATTLE_SCRIPT_INTERFACE    table: 578DF6E0
    
    
            attacker_battle_result    function: 578DFD00
    
    
            percentage_of_attacker_killed    function: 578DFAE0
    
    
            percentage_of_defender_killed    function: 578DFC60
    
    
            naval_battle    function: 578DFDE0
    
    
            attacker_commander_fought_in_battle    function: 578DFC80
    
    
            night_battle    function: 578DFFC0
    
    
            is_active    function: 578DF860
    
    
            defender    function: 578DFB40
    
    
            defender_strength    function: 578DFFA0
    
    
            attacker_commander_fought_in_melee    function: 578DFCA0
    
    
            battle_type    function: 578E00A0
    
    
            failed_ambush_battle    function: 578DFD80
    
    
            new    function: 578BB990
    
    
            seige_battle    function: 578DFDA0
    
    
            has_contested_garrison    function: 578DFA00
    
    
            ambush_battle    function: 578DFF60
    
    
            percentage_of_attacker_routed    function: 578DFB20
    
    
            defender_commander_fought_in_melee    function: 578DFD40
    
    
            attacker_strength    function: 578DFF00
    
    
            attacker    function: 578DFA40
    
    
            has_defender    function: 578DFA20
    
    
            defender_commander_fought_in_battle    function: 578DFD20
    
    
            defender_battle_result    function: 578DFF40
    
    
            percentage_of_defender_routed    function: 578DFC20
    
    
            model    function: 578DFB00
    
    
            attacker_is_stronger    function: 578DFBA0
    
    
            contested_garrison    function: 578DFAA0
    
    
            is_null_interface    function: 578DFA60
    
    
            has_attacker    function: 578DFAC0
    
    
    WORLD_SCRIPT_INTERFACE    table: 578D7160
    
    
            ancillary_exists    function: 578D73C0
    
    
            faction_exists    function: 578D7380
    
    
            climate_phase_index    function: 578D7360
    
    
            faction_by_key    function: 578D7340
    
    
            model    function: 578D72C0
    
    
            region_manager    function: 578D7300
    
    
            faction_list    function: 578D72E0
    
    
            is_null_interface    function: 578D7240
    
    
            new    function: 578BA430
    
    
    campaign_defense    table: 578F0940
    
    
            should_award_upkeep    true
    
    
            stop    function: 578C3478
    
    
            active    false
    
    
            cqi    
    
    
            set_should_award_upkeep    function: 578C33E8
    
    
            enable_movement    function: 578C3430
    
    
            dump    function: 578C3400
    
    
            generate_campaign_defense_loadstring    function: 578C3448
    
    
            set_callback    function: 578C33D0
    
    
            name    
    
    
            faction    
    
    
            turn_start    function: 578C3418
    
    
            get_army_char    function: 578C3460
    
    
            movement_enabled    true
    
    
            new    function: 578C33B8
    
    
    GARRISON_RESIDENCE_SCRIPT_INTERFACE    table: 578DB5C0
    
    
            has_navy    function: 578DB6E0
    
    
            settlement_interface    function: 578DBBA0
    
    
            buildings    function: 578DB940
    
    
            is_under_siege    function: 578DBB20
    
    
            new    function: 578BABE0
    
    
            region    function: 578DB920
    
    
            unit_count    function: 578DB980
    
    
            can_assault    function: 578DBC20
    
    
            army    function: 578DB820
    
    
            navy    function: 578DB760
    
    
            is_settlement    function: 578DBAC0
    
    
            is_slot    function: 578DBA00
    
    
            faction    function: 578DB720
    
    
            model    function: 578DB7E0
    
    
            has_army    function: 578DB640
    
    
            is_null_interface    function: 578DB520
    
    
            slot_interface    function: 578DBB80
    
    
    campaign_manager    table: 578E98E0
    
    
            start_turn_manager    function: 578BFF08
    
    
            first_tick    function: 578BFB30
    
    
            set_default_turn_start_callback    function: 578BFF50
    
    
            __tostring    function: 578BF9F8
    
    
            register_pre_dismiss_advice_callback    function: 578BFDD0
    
    
            first_tick_callbacks    table: 578E9900
    
    
            cancel_progress_on_mission_accepted    function: 578BFEF0
    
    
            add_modal_section    function: 578C0070
    
    
            remove_turn_end_callback    function: 578C0010
    
    
            game_interface_created    false
    
    
            progress_on_advice_finished    function: 578BFE30
    
    
            factions    table: 578E9960
    
    
            set_saved_value    function: 578C01F0
    
    
            clear_modal_queue    function: 578C00B8
    
    
            cancel_progress_on_advice_dismissed    function: 578BFE18
    
    
            progress_on_advice_finished_str    progress_on_advice_finished
    
    
            add_listener    function: 578BFC98
    
    
            saving_game    function: 578BFB90
    
    
            scripting    false
    
    
            clear_turn_end_callbacks    function: 578C0028
    
    
            load_values_from_string    function: 578C0238
    
    
            set_default_zoom_limit    function: 578BFD10
    
    
            modify_advice    function: 578BFDB8
    
    
            register_loading_game_callback    function: 578BFBD8
    
    
            turn_countdown_events    table: 578E9A00
    
    
            load_value    function: 578BFC38
    
    
            new_session_created    function: 578BFA58
    
    
            restore_zoom_limit    function: 578BFD40
    
    
            modal_sections_end    function: 578C00A0
    
    
            process_ui_destroyed_callbacks    function: 578BFB00
    
    
            save    function: 578BFBC0
    
    
            register_ui_destroyed_callback    function: 578BFAD0
    
    
            stop_advice_navigation_listener    function: 578BFE90
    
    
            process_ui_created_callbacks    function: 578BFAB8
    
    
            is_multiplayer_campaign    false
    
    
            trigger_event    function: 578BFCE0
    
    
            default_zoom_limit_h_max    false
    
    
            get_local_faction    function: 578BFC80
    
    
            set_default_turn_end_callback    function: 578BFFC8
    
    
            insert_modal_section    function: 578C0058
    
    
            name    
    
    
            cancel_progress_on_advice_finished    function: 578BFE60
    
    
            register_post_saving_game_callback    function: 578BFB78
    
    
            default_zoom_limits_set    function: 578BFD28
    
    
            is_multiplayer    function: 578BFC50
    
    
            eh    table: 578E9880
    
    
            register_ui_created_callback    function: 578BFA88
    
    
            __index    function: 578BF9E0
    
    
            further_advice_allowed    true
    
    
            ui_destroyed    function: 578BFAE8
    
    
            trigger_custom_mission    function: 578C0160
    
    
            add_turn_start_callback    function: 578BFF68
    
    
            turn_countdown_events_from_string    function: 578C0298
    
    
            default_zoom_limit_h_min    false
    
    
            ui_created_callbacks    table: 578E98C0
    
    
            turn_countdown_events_to_string    function: 578C0280
    
    
            progress_on_loading_screen_dismissed    function: 578BFEA8
    
    
            next_modal_section    function: 578C0088
    
    
            save_value    function: 578BFC20
    
    
            pre_dismiss_advice_callbacks    table: 578E99C0
    
    
            is_ui_created    false
    
    
            add_turn_end_callback    function: 578BFFE0
    
    
            lock_modal_queue    function: 578C00D0
    
    
            register_session_created_callback    function: 578BFA40
    
    
            register_saving_game_callback    function: 578BFB60
    
    
            turn_end_callback_list    table: 578E9980
    
    
            loading_game_callbacks    table: 578E9940
    
    
            modify_advice_str    modify_advice
    
    
            create_force    function: 578C0178
    
    
            modal_queue    table: 578E9AA0
    
    
            add_turn_start_callback_for_faction    function: 578BFF80
    
    
            progress_on_advice_finished_poll    function: 578BFE48
    
    
            ui_created    function: 578BFAA0
    
    
            random_number    function: 578C01C0
    
    
            lock_ui    function: 578C0100
    
    
            modal_section_active    false
    
    
            process_saving_game_callbacks    function: 578BFBA8
    
    
            set_zoom_limit    function: 578BFD70
    
    
            add_turn_end_callback_for_faction    function: 578BFFF8
    
    
            process_first_tick_callbacks    function: 578BFB48
    
    
            ui_destroyed_callbacks    table: 578E99E0
    
    
            turn_start_callback_list    table: 578E9A60
    
    
            turn_manager_started    false
    
    
            start_advice_navigation_listener    function: 578BFE78
    
    
            check_turn_countdown_events    function: 578C0268
    
    
            remove_listener    function: 578BFCB0
    
    
            process_loading_game_callbacks    function: 578BFC08
    
    
            progress_on_advice_dismissed_str    progress_on_advice_dismissed
    
    
            add_turn_countdown_event    function: 578C0250
    
    
            PROGRESS_ON_ADVICE_FINISHED_REPOLL_TIME    0.20000000298023
    
    
            core    false
    
    
            saved_values_to_string    function: 578C0220
    
    
            get_saved_value    function: 578C0208
    
    
            __type    function: 578BFA10
    
    
            random_sort    function: 578C01D8
    
    
            progress_on_advice_dismissed    function: 578BFE00
    
    
            modal_system_locked    false
    
    
            progress_on_mission_accepted    function: 578BFED8
    
    
            process_session_created_callbacks    function: 578BFA70
    
    
            saving_game_callbacks    table: 578E9A20
    
    
            session_created_callbacks    table: 578E99A0
    
    
            log_to_dis    function: 578C01A8
    
    
            show_advice    function: 578BFD88
    
    
            is_new_game    function: 578BFC68
    
    
            game_interface    false
    
    
            cinematic_zoom_limit_h_max    1.1499999761581
    
    
            quit    function: 578C0130
    
    
            register_first_tick_callback    function: 578BFB18
    
    
            add_modal_section_to_queue    function: 578C0040
    
    
            attack    function: 578C0148
    
    
            suppress_events_popup_on_player_turn_start    function: 578C00E8
    
    
            dismiss_advice    function: 578BFDE8
    
    
            force_created    function: 578C0190
    
    
            new    function: 578BFA28
    
    
            on_turn_end    function: 578BFF38
    
    
            local_faction    
    
    
            ui_root    function: 578BFCF8
    
    
            clear_turn_start_callbacks    function: 578BFFB0
    
    
            remove_turn_start_callback    function: 578BFF98
    
    
            saved_values    table: 578E9AE0
    
    
            ui_locked    false
    
    
            on_turn_start    function: 578BFF20
    
    
            unlock_ui    function: 578C0118
    
    
            stop_progress_on_loading_screen_dismissed    function: 578BFEC0
    
    
            loading_game    function: 578BFBF0
    
    
            game_loaded    false
    
    
            prevent_additional_advice    function: 578BFDA0
    
    
            register_event    function: 578BFCC8
    
    
            cinematic_zoom_limit_h_min    0.15000000596046
    
    
            set_cinematic_zoom_limit    function: 578BFD58
    
    
    MILITARY_FORCE_SCRIPT_INTERFACE    table: 578DCE20
    
    
            is_army    function: 578DD480
    
    
            character_list    function: 578DD560
    
    
            upkeep    function: 578DD6C0
    
    
            buildings    function: 578DEF40
    
    
            unit_list    function: 578DEA00
    
    
            new    function: 578BB630
    
    
            general_character    function: 578DD4E0
    
    
            is_horde    function: 578DECA0
    
    
            building_exists    function: 578DECC0
    
    
            has_general    function: 578DD3A0
    
    
            model    function: 578DD380
    
    
            has_garrison_residence    function: 578DEB00
    
    
            garrison_residence    function: 578E1DA0
    
    
            is_navy    function: 578DD4A0
    
    
            can_activate_stance    function: 578DEBA0
    
    
            faction    function: 578DEA20
    
    
            active_stance    function: 578DEB40
    
    
            contains_mercenaries    function: 578DEAE0
    
    
            is_null_interface    function: 578DD520
    
    
            command_queue_index    function: 578DEAC0
    
    
    CampaignSettlement    table: 578E2620
    
    
            LabelDetails    function: 578E26E0
    
    
            ListDetails    function: 578E2720
    
    
            Settlement    function: 578E26A0
    
    
            Release    function: 578E2740
    
    
            new    function: 578BC6C8
    
    
    faction_start    table: 578EA8C0
    
    
            register_each_sp_game_callback    function: 578C0D18
    
    
            register_new_mp_game_callback    function: 578C0D30
    
    
            start    function: 578C0D60
    
    
            default_x    0
    
    
            register_each_mp_game_callback    function: 578C0D48
    
    
            process_start    function: 578C0D78
    
    
            set_camera_to_default    function: 578C0D90
    
    
            set_force_intro_cutscene_playback    function: 578C0CE8
    
    
            default_zoom    0
    
    
            default_y    0
    
    
            name    
    
    
            default_heading    0
    
    
            register_new_sp_game_callback    function: 578C0D00
    
    
            force_intro_cutscene_playback    false
    
    
            register_intro_cutscene_callback    function: 578C0CD0
    
    
            new    function: 578C0CB8
    
    
    __campaign_manager    campaign_manager
    
    
            saving_game_callbacks    table: 578F3F20
    
    
            session_created_callbacks    table: 578F3EA0
    
    
            pre_dismiss_advice_callbacks    table: 578F3F80
    
    
            game_interface    GAME (22661E38)
    
    
            first_tick_callbacks    table: 578F3F00
    
    
            scripting    table: 578F2D60
    
    
            loading_game_callbacks    table: 578F3F40
    
    
            ui_destroyed_callbacks    table: 578F3EE0
    
    
            game_loaded    true
    
    
            modal_queue    table: 578F3F60
    
    
            is_multiplayer_game    false
    
    
            core    table: 578F0D80
    
    
            turn_countdown_events    table: 578F3FC0
    
    
            name    main_attila
    
    
            game_interface_created    true
    
    
            ui_created_callbacks    table: 578F3EC0
    
    
            eh    event_handler
    
    
            saved_values    table: 578F3FA0
    
    
            factions    table: 578F3E80
    
    
    UIComponent    table: 578E0920
    
    
            Visible    function: 578E12E0
    
    
            Highlight    function: 578E1A00
    
    
            ChildCount    function: 578E0F60
    
    
            TextDimensions    function: 578E1E20
    
    
            IsDragged    function: 578E1300
    
    
            Divorce    function: 578E1140
    
    
            PopulateTextures    function: 578E1980
    
    
            SetState    function: 578E0B20
    
    
            ReorderChildren    function: 578E12C0
    
    
            SetImageRotation    function: 578E1660
    
    
            SimulateMouseMove    function: 578E1FE0
    
    
            CurrentState    function: 578E0FA0
    
    
            SetDragged    function: 578E1340
    
    
            DockingPoint    function: 578E1B80
    
    
            SimulateMouseOff    function: 578E1FC0
    
    
            Id    function: 578E1240
    
    
            HasInterface    function: 578E1D20
    
    
            DestroyChildren    function: 578E1120
    
    
            ClearSound    function: 578E2080
    
    
            TriggerAnimation    function: 578E1CC0
    
    
            IsCharPrintable    function: 578E1B40
    
    
            PropagateOpacity    function: 578E1720
    
    
            Parent    function: 578E1540
    
    
            GetStateTextDetails    function: 578E1AA0
    
    
            SetVisible    function: 578E10A0
    
    
            SetGlobal    function: 578E1740
    
    
            ForceEvent    function: 578E1CA0
    
    
            SetTooltipTextWithRLSKey    function: 578E10E0
    
    
            SetProperty    function: 578E0D20
    
    
            GlobalExists    function: 578E1760
    
    
            FindTextSnapPosition    function: 578E1A80
    
    
            TextShaderTechniqueSet    function: 578E1560
    
    
            SaveUIHeirarchy    function: 578E1AE0
    
    
            Layout    function: 578E1620
    
    
            InterfaceFunction    function: 578E1CE0
    
    
            StealShortcutKey    function: 578E18A0
    
    
            Position    function: 578E0F20
    
    
            Height    function: 578E0A80
    
    
            IsMouseOverChildren    function: 578E1C20
    
    
            LuaCall    function: 578E0E40
    
    
            GetStateText    function: 578E0CC0
    
    
            SetTooltipText    function: 578E1160
    
    
            Opacity    function: 578E20E0
    
    
            IsInteractive    function: 578E1860
    
    
            SetImageColour    function: 578E16A0
    
    
            Priority    function: 578E11C0
    
    
            Resize    function: 578E1320
    
    
            PropagatePriority    function: 578E0F80
    
    
            SimulateRClick    function: 578E1F20
    
    
            CurrentAnimationId    function: 578E2040
    
    
            SetStateTextDetails    function: 578E1A20
    
    
            SetMoveable    function: 578E18E0
    
    
            CurrentStateUI    function: 578E1C60
    
    
            SetDockingPoint    function: 578E1BC0
    
    
            GetTooltipText    function: 578E10C0
    
    
            Width    function: 578E0B80
    
    
            ShaderTechniqueGet    function: 578E13C0
    
    
            Bounds    function: 578E0AE0
    
    
            LockPriority    function: 578E1D60
    
    
            SetOpacity    function: 578E1600
    
    
            SimulateKey    function: 578E1F60
    
    
            CreateComponent    function: 578E20C0
    
    
            SimulateLClick    function: 578E1EE0
    
    
            Adopt    function: 578E1260
    
    
            ShaderTechniqueSet    function: 578E14A0
    
    
            PropagateImageColour    function: 578E15C0
    
    
            AttachCustomControl    function: 578E16C0
    
    
            SetStateColours    function: 578E1E60
    
    
            SequentialFind    function: 578E1500
    
    
            UnLockPriority    function: 578E1D40
    
    
            SetInteractive    function: 578E1700
    
    
            TextShaderVarsSet    function: 578E1480
    
    
            WidthOfTextLine    function: 578E1C00
    
    
            TriggerShortcut    function: 578E2020
    
    
            FindPositionIntoCurrentText    function: 578E1A60
    
    
            CallbackId    function: 578E1280
    
    
            RestoreUIHeirarchy    function: 578E1B00
    
    
            ShaderVarsSet    function: 578E1400
    
    
            SetStateTextXOffset    function: 578E1A40
    
    
            TextShaderVarsGet    function: 578E15A0
    
    
            new    function: 578BBCF0
    
    
            RunScript    function: 578E19C0
    
    
            SetDisabled    function: 578E1820
    
    
            SetEventCallback    function: 578E1880
    
    
            SetStateText    function: 578E0C80
    
    
            PropagateVisibility    function: 578E0EE0
    
    
            Find    function: 578E14C0
    
    
            MoveTo    function: 578E0E20
    
    
            SimulateClick    function: 578E1EA0
    
    
            IsMoveable    function: 578E1920
    
    
            GetProperty    function: 578E0D80
    
    
            Address    function: 578E1200
    
    
            SimulateMouseOn    function: 578E1FA0
    
    
            StealInputFocus    function: 578E1960
    
    
            ShaderVarsGet    function: 578E1440
    
    
            Dimensions    function: 578E1380
    
    
    ability_trait_list    table: 578F5960
    
    
            att_trait_general_ability_all_brace    1
    
    
            att_trait_general_ability_all_raise    1
    
    
            att_trait_general_ability_all_war    1
    
    
            att_trait_general_ability_all_second    1
    
    
            att_trait_general_ability_all_recon    1
    
    
            att_trait_general_ability_all_fear    1
    
    
            att_trait_general_ability_all_rally    1
    
    
            att_trait_general_ability_all_power    1
    
    
            att_trait_general_ability_all_inspire    1
    
    
            att_trait_general_ability_all_fast    1
    
    
            att_trait_general_ability_all_presence    1
    
    
    
    
    FACTION_SCRIPT_INTERFACE    table: 578D7A40
    
    
            trade_value    function: 578D7D60
    
    
            state_religion_percentage    function: 578D8140
    
    
            character_list    function: 578D78A0
    
    
            losing_money    function: 578D7E60
    
    
            home_region    function: 578D7AE0
    
    
            trade_route_limit_reached    function: 578D7F00
    
    
            upkeep_expenditure_percent    function: 578D7EA0
    
    
            imperium_level    function: 578DA140
    
    
            allied_with    function: 578D7E00
    
    
            ancillary_exists    function: 578D7B60
    
    
            at_war    function: 578D7C20
    
    
            unused_international_trade_route    function: 578D7DC0
    
    
            military_force_list    function: 578D7AC0
    
    
            tax_level    function: 578D8000
    
    
            name    function: 578D7AA0
    
    
            model    function: 578D7A80
    
    
            is_trading_with    function: 578DA120
    
    
            is_null_interface    function: 578D79E0
    
    
            command_queue_index    function: 578D83A0
    
    
            research_queue_idle    function: 578D8040
    
    
            trade_resource_exists    function: 578D7C80
    
    
            num_generals    function: 578D81A0
    
    
            at_war_with    function: 578D7E40
    
    
            num_allies    function: 578D7DA0
    
    
            treasury_percent    function: 578D7FA0
    
    
            subculture    function: 578D8120
    
    
            new    function: 578BA5F8
    
    
            culture    function: 578D8360
    
    
            is_horde    function: 578D8220
    
    
            state_religion    function: 578D8180
    
    
            faction_leader    function: 578D7B20
    
    
            started_war_this_turn    function: 578D7CC0
    
    
            treasury    function: 578D7D80
    
    
            has_food_shortage    function: 578D8760
    
    
            sea_trade_route_raided    function: 578D7DE0
    
    
            has_faction_leader    function: 578DA9A0
    
    
            ended_war_this_turn    function: 578D7D20
    
    
            region_list    function: 578D7A60
    
    
            has_technology    function: 578D8020
    
    
            trade_value_percent    function: 578D7EC0
    
    
            trade_ship_not_in_trade_node    function: 578D7F40
    
    
            is_human    function: 578D7B00
    
    
            has_home_region    function: 578D7BC0
    
    
    cm    campaign_manager
    
    
            saving_game_callbacks    table: 578F3F20
    
    
            session_created_callbacks    table: 578F3EA0
    
    
            pre_dismiss_advice_callbacks    table: 578F3F80
    
    
            game_interface    GAME (22661E38)
    
    
            first_tick_callbacks    table: 578F3F00
    
    
            scripting    table: 578F2D60
    
    
            loading_game_callbacks    table: 578F3F40
    
    
            ui_destroyed_callbacks    table: 578F3EE0
    
    
            game_loaded    true
    
    
            modal_queue    table: 578F3F60
    
    
            is_multiplayer_game    false
    
    
            core    table: 578F0D80
    
    
            turn_countdown_events    table: 578F3FC0
    
    
            name    main_attila
    
    
            game_interface_created    true
    
    
            ui_created_callbacks    table: 578F3EC0
    
    
            eh    event_handler
    
    
            saved_values    table: 578F3FA0
    
    
            factions    table: 578F3E80
    
    
    MILITARY_FORCE_LIST_SCRIPT_INTERFACE    table: 578DEC40
    
    
            is_empty    function: 578DF140
    
    
            item_at    function: 578DEF00
    
    
            num_items    function: 578DF080
    
    
            new    function: 578BB708
    
    
    EpisodicScripting    table: 578F2D60
    
    
            InitFeature    function: 578C5398
    
    
            ClearMessageAutoShowOverrides    function: 578C53C8
    
    
            game_interface    GAME (22661E38)
    
    
            HideComponent    function: 578C45A0
    
    
            HighlightComponent    function: 578C4600
    
    
            _M    table: 578F2D60
    
    
            OverrideMessageAutoShow    function: 578C53B0
    
    
            DisableFeature    function: 578C5380
    
    
            SetCampaign    function: 578C5338
    
    
            _PACKAGE    lua_scripts.
    
    
            AddEventCallBack    function: 578F3D20
    
    
            ClearEventCallbacks    function: 578F3D00
    
    
            ShowHUD    function: 578C4678
    
    
            EnableComponent    function: 578C45E8
    
    
            OnUICreated    function: 578F3CE0
    
    
            _NAME    lua_scripts.episodicscripting
    
    
            HighlightRecruitmentItem    function: 578C4648
    
    
            RevealComponent    function: 578C45D0
    
    
            EnableFeature    function: 578C5350
    
    
            IsOnCampaignMap    function: 578C5320
    
    
            HighlightConstructionItem    function: 578C4618
    
    
    ui_state    table: 578EF820
    
    
            force_details    ui_override
    
    
            cancel_siege_weapons    ui_override
    
    
            autoresolve    ui_override
    
    
            non_city_building_upgrades    ui_override
    
    
            migration    ui_override
    
    
            saving    ui_override
    
    
            tax_exemption    ui_override
    
    
            prebattle_attack    ui_override
    
    
            recruit_mercenaries    ui_override
    
    
            character_skills_warning    ui_override
    
    
            raise_army    ui_override
    
    
            technology    ui_override
    
    
            province_details    ui_override
    
    
            radar_rollout_buttons    ui_override
    
    
            cancel_construction    ui_override
    
    
            stances    ui_override
    
    
            tactical_map    ui_override
    
    
            incentives    ui_override
    
    
            events_rollout    ui_override
    
    
            windowed_movies    ui_override
    
    
            governor_warning    ui_override
    
    
            construction_site    ui_override
    
    
            recruit_units    ui_override
    
    
            events_panel    ui_override
    
    
            technology_warning    ui_override
    
    
            bankruptcy_warning    ui_override
    
    
            disable_end_of_turn_warnings    ui_override
    
    
            public_order_display    ui_override
    
    
            end_turn    ui_override
    
    
            migration_cancel    ui_override
    
    
            edicts_warning    ui_override
    
    
            raze_button    ui_override
    
    
            enlist_navy    ui_override
    
    
            cost_display    ui_override
    
    
            retreat    ui_override
    
    
            replace_general    ui_override
    
    
            finance    ui_override
    
    
            subjugation_button    ui_override
    
    
            large_info_panels    ui_override
    
    
            sally_forth_button    ui_override
    
    
            maintain_siege    ui_override
    
    
            prebattle_save    ui_override
    
    
            missions    ui_override
    
    
            campaign_values    ui_override
    
    
            diplomacy    ui_override
    
    
            enlist_agent    ui_override
    
    
            force_skills_warning    ui_override
    
    
            character_details    ui_override
    
    
            abandon_settlements    ui_override
    
    
            intrigue_actions    ui_override
    
    
            building_browser    ui_override
    
    
            seek_wife    ui_override
    
    
            toggle_move_speed    ui_override
    
    
            dismantle_building    ui_override
    
    
            upgrade_unit    ui_override
    
    
            convert_religion    ui_override
    
    
            food_display    ui_override
    
    
            faction_button    ui_override
    
    
            siege_equipment_warning    ui_override
    
    
            settlement_renaming    ui_override
    
    
            loot_button    ui_override
    
    
            sack_button    ui_override
    
    
            occupy_button    ui_override
    
    
            army_morale_warning    ui_override
    
    
            toggle_movement_speed    ui_override
    
    
            disable_side_panels    ui_override
    
    
            disable_dismiss_advice_end_turn    ui_override
    
    
            disable_resettle    ui_override
    
    
            cancel_recruitment    ui_override
    
    
            repair_building    ui_override
    
    
            disband_unit    ui_override
    
    
    custom_context    table: 578E53A0
    
    
            component    function: 578BDD30
    
    
            character    function: 578BDD00
    
    
            region    function: 578BDCD0
    
    
            military_force    function: 578BDD48
    
    
            faction    function: 578BDD18
    
    
            add_data    function: 578BDCE8
    
    
            new    function: 578BDCB8
    
    
    CAMPAIGN_AI_SCRIPT_INTERFACE    table: 578D6B80
    
    
            strategic_stance_between_factions_promotion_is_active    function: 578E06C0
    
    
            strategic_stance_between_factions_promotion_start_round    function: 578E0760
    
    
            strategic_stance_between_factions_is_being_blocked    function: 578E08C0
    
    
            strategic_stance_between_factions_promotion_end_level    function: 578E0700
    
    
            strategic_stance_between_factions_is_being_blocked_until    function: 578E0840
    
    
            strategic_stance_between_factions_promotion_end_round    function: 578E0880
    
    
            strategic_stance_between_factions_promotion_start_level    function: 578E06A0
    
    
            strategic_stance_between_factions_available    function: 578E0680
    
    
            strategic_stance_between_factions_promotion_or_blocking_is_set    function: 578E0500
    
    
            strategic_stance_between_factions_promotion_current_level    function: 578E05C0
    
    
            strategic_stance_between_factions    function: 578E03A0
    
    
            is_null_interface    function: 578E0620
    
    
            new    function: 578BBB40
    
    
    FAMILY_MEMBER_SCRIPT_INTERFACE    table: 578E0940
    
    
            has_trait    function: 578E09E0
    
    
            father    function: 578E09C0
    
    
            has_mother    function: 578E0580
    
    
            mother    function: 578E08A0
    
    
            come_of_age    function: 578E09A0
    
    
            has_father    function: 578E0960
    
    
            is_null_interface    function: 578E0860
    
    
            new    function: 578BBC18
    
    
    
    
    CAMPAIGN_MISSION_SCRIPT_INTERFACE    table: 578E0040
    
    
            mission_record_key    function: 578D6C00
    
    
            model    function: 578E00C0
    
    
            mission_issuer_record_key    function: 578D6C20
    
    
            faction    function: 578E0280
    
    
            is_null_interface    function: 578D6BE0
    
    
            new    function: 578BBA68

  5. #5

    Default Re: Lua Game Functions

    hmmmm, render_campaign_to_file... can someone explore this further

  6. #6

    Default Re: Lua Game Functions

    Some of these codes would be right to make a "spawn_army"? I'm trying it of every way but I don't get any results. Does anyone know what fail or missing in the script?

    Code:
    local function OnFactionTurnStart(context)
    	if conditions.TurnNumber(context) == 2 then
    		if conditions.FactionName("cha_fact_asturias", context) then
    			scripting.game_interface:create_force("cha_fact_asturias", "cha_gen_spear,cha_gen_spear", "cha_reg_leon_leon", 207, 708, "Inf_R08", true)
    		end
    	end
    end
    Code:
    function FactionTurnStart()
    	if turn_number == 2 then
    		cm:create_force("cha_fact_asturias", "cha_gen_spear,cha_gen_spear", "cha_reg_leon_leon", 207, 708, "Inf_R08", true);
    	end;
    end;
    Last edited by Miguel_80; December 30, 2017 at 06:35 PM.

  7. #7

    Default Re: Lua Game Functions

    Because in Rome 2 it works when certain regions are conquered (between Carthage and Rome). In Attila should work too.

    Last edited by Miguel_80; January 26, 2018 at 02:53 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •