Results 1 to 10 of 10

Thread: console_command event: anybody?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: console_command event: anybody?

    Nothing I tried yet with that command didn work (in BI 1.6), so I guess it's disabled. There are reports of it working though, so I'm not 100% sure.

  2. #2

    Default Re: console_command event: anybody?

    If all you want is the message you can use the test_message command.

  3. #3
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: console_command event: anybody?

    Quote Originally Posted by DimeBagHo
    If all you want is the message you can use the test_message command.
    Yes, I wanted the message just to make different those type of messages from the normal advices.
    I'll try this way, thanks.

  4. #4
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: console_command event: anybody?

    Quote Originally Posted by DimeBagHo
    If all you want is the message you can use the test_message command.
    I'm completely unable to use this command.

    First I tried to test the senate messages. As they were not shown, I thought that it was a problem with the syntax.
    Then I looked for the use of this command in other scripts and I found that in EB it was used with civil_war.
    I tried this syntax:
    Code:
    	monitor_event FactionTurnStart FactionType romans_julii
    		and I_TurnNumber = 1
    
    		console_command test_message civil_war
    
    		terminate_monitor
    	end_monitor
    but the message was not shown. I know that the event is working, as I used it to test other commands.
    As all the events for test_message command in EB script were TurnEnd, I've tried this other syntax:
    Code:
    monitor_event CharacterTurnEnd FactionType romans_julii
    and EndedInSettlement
    and SettlementName Ostia
    
    console_command test_message civil_war
    
    terminate_monitor
    end_monitor
    In spite of the fact that the faction leader is in that settlement from the very beginning of the campaign, the message is not shown in any of the first three turns.

    Could somebody find the mistake?

  5. #5

    Default Re: console_command event: anybody?

    console_command test_message civil_war This command works (i checked it) so problem is with monitors.
    In first code i think that turn numbering starts from 1.
    So aither there is no FactionTurnStart event for it or it happens just as campagne is loaded and there is no chance you can catch it (you activate script afther this event already happened).

    Second code looks ok. You should recheck if Ostia is visible city name.
    SettlementName command uses visible city name (i think that all other commands uses internal city names).

    I hope it helps.

  6. #6
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: console_command event: anybody?

    Quote Originally Posted by LorDBulA
    console_command test_message civil_war This command works (i checked it) so problem is with monitors.
    In first code i think that turn numbering starts from 1.
    So aither there is no FactionTurnStart event for it or it happens just as campagne is loaded and there is no chance you can catch it (you activate script afther this event already happened).

    Second code looks ok. You should recheck if Ostia is visible city name.
    SettlementName command uses visible city name (i think that all other commands uses internal city names).

    I hope it helps.
    The mistake in the first code must be in another place.
    This alternative code worked:
    Code:
    	monitor_event FactionTurnStart FactionType romans_julii
    		and I_TurnNumber = 1
    
    		senate_mission_take_city major_reward, Segesta
    		set_counter Senate_Mission 1
    
    		terminate_monitor
    	end_monitor
    and the senate mission was shown in the beginning of the second turn. Thus I supposed that the first turn is turn 0.

    In the second case, perhaps you are right, as Ostia is internal name. I will try with the visible one.

    Thanks.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO