Time OUT!

Discussion in 'World Editor Help' started by sunshinex3, Nov 23, 2017.

  1. sunshinex3

    sunshinex3 You can change this now in User CP.

    Ratings:
    +4 / 0 / -0
    Need help once again the trigger is supposed to pause a player witch it does but i don't know how to unpause the player after the one shot timer runs out.


    Trigger:
    • TimeOutDialog
      • Events
        • Map initialization
      • Conditions
      • Actions
        • Dialog - Change the title of TimeOutDialog to TIME OUT!!!


    set the dialog then:
    Trigger:
    • Time Out
      • Events
        • Unit - A unit Starts the effect of an ability
      • Conditions
        • (Ability being cast) Equal to Time Out (Nordozumu)
      • Actions
        • Set TimeOutPlayer = (Owner of (Target unit of ability being cast))
        • Dialog - Show TimeOutDialog for (Owner of (Target unit of ability being cast))
        • Countdown Timer - Start TimeOutTimer as a One-shot timer that will expire in 5.00 seconds


    That pauses the player, and then....:

    Trigger:
    • TimeOut End
      • Events
        • Time - TimeOutTimer expires
      • Conditions
      • Actions
        • Dialog - Hide TimeOutDialog for TimeOutPlayer
        • Dialog - Create a dialog button for TimeOutDialog labelled back in


    clear dialog didnt work either i was thinking of creating a button and then some how force clicking it? im in over my head how do i create dialog and take it away is it a custom script command?
     

Share This Page