WB Coding historical battle notification.

正在查看此主题的用户

Mauromagno Patriota

Sergeant Knight
How could I get a notification of a historical battle on a certain date and time of day? Which gives you the opportunity to participate and sends you to a certain scene.
 
解决方案
I will keep trying, since when I enter the event menu screen, it does not let me exit, I press the 2 options a thousand times and nothing ...
This indicates that script is called every frame. This is getting confusing. :smile: I think it works like this. When the time comes, you're redirected to the menu. When you click one of the buttons, You go back to the main world. The game calls that script again to display date. You're redirected to the menu again. It works like an infinite loop of actions. Fixed version should work.
插入代码块:
#################################################
(store_mod, ":cur_hour", ":num_hours", 24),
      (try_begin),
        (this_or_next|neq, "$g_current_hour", ":cur_hour"),
        (this_or_next|neq...
well, what I did was, copy the trigger from common_battle_tab_press and renamed it, leaving it like this ..., that's how it works for me: D
插入代码块:
common_battle_tab_press2 = (
    ti_tab_pressed, 0, 0, [],
    [
        (try_begin),
        (eq, "$g_battle_won", 1),
            (jump_to_menu,"mnu_historical_battle3"),
            (finish_mission, 0),
      (else_try),
        (eq, "$pin_player_fallen", 1),
            (jump_to_menu,"mnu_historical_battle3"),
            (finish_mission, 0),
        (try_end),
    ]
)
 
点赞 0
后退
顶部 底部