Results 1 to 2 of 2

Thread: Script to Change Battle Model

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Darkstar's Avatar Senator
    Join Date
    Feb 2007
    Location
    Massachusetts, USA
    Posts
    1,032

    Default Script to Change Battle Model

    I want to change the battle model of characters who become leader or heir but not if they already have a custom model assigned in descr_strat.txt. Any ideas?

    This is the best I could come up with so far but it obviously doesn't work as I don't believe the event is selecting the character.

    Code:
    monitor_event BecomesFactionLeader FactionType hre
        e_select_character
        if not I_CharacterSelected Euron Greyjoy
            change_battle_model hre leader leader_greyjoy
        end_if
    end_monitor
    or give them a hidden trait at game start if they have a custom model. Still need to test this one.

    Code:
    monitor_event BecomesFactionLeader FactionType hre
          if trait model < 1
            change_battle_model hre leader leader_greyjoy
        end_if
    end_monitor
    Last edited by Darkstar; February 02, 2011 at 05:00 PM.

  2. #2

    Icon1 Re: Script to Change Battle Model

    Darkstar: Yes, a hidden trait should do it, and this should work:
    Code:
    	monitor_event BecomesFactionLeader CharFactionType hre
          		and Trait model = 0
            	change_battle_model hre leader leader_greyjoy
    	end_monitor

Posting Permissions

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