• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Dialogs and disappearing titles, oh my.

Status
Not open for further replies.
Level 7
Joined
May 11, 2010
Messages
278
I'm a bit confused as in regard to how dialog titles work. I have a trigger that fires after 0.01 seconds of game time wich sets up a number of dialogs with titles and buttons. The first time the dialogs are shown, they work just fine.
However, when i show the same dialogs again, the titles disappear. So what should i do to make the title show up every time the dialog is shown?

TL;DR: How do dialog titles work?
 
Level 7
Joined
May 11, 2010
Messages
278
Yep, that works. If I have to set it every time, then is there even a point in setting the titles on start-up (elapsed game time 0.00)?

Fairly unrelated, but I want to use this for checking for leaks:
  • HandleCounter
    • Events
    • Time - Every 0.09 seconds of game time
    • Conditions
    • Actions
    • Set Location = (Point(0.00, 0.00))
    • Game - Display to (All players) the text: (String((Key (Location)) - 1048576))
    • Custom script: call RemoveLocation(udg_Location)
I can't figure out how to create the "(String((Key (Location))" part. Could someone explain?
 
Level 7
Joined
May 11, 2010
Messages
278
It returns a faulty value. It's supposed to return a value over 0, it returns -1445207004.
Or have i misunderstood something?

  • Untitled Trigger 002
    • Events
      • Time - Every 0.10 seconds of game time
    • Conditions
    • Actions
      • Set TempPoint = (Point(0.00, 0.00))
      • Game - Display to (All players) the text: (String(((Key TempPoint) - 1048576)))
      • Custom script: call RemoveLocation(udg_TempPoint)
 
Status
Not open for further replies.
Top