• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Problem with a trigger, Dialog.

Status
Not open for further replies.
Level 2
Joined
Jan 9, 2008
Messages
15
Could someone help me figure out why this doesnt work?
The menu appears. It says the titles, but has no buttons, then im locked into the game. Help is apperciated. :]



  • Dialog
    • Events
      • Time - Elapsed game time is 2.00 seconds
    • Conditions
    • Actions
      • Dialog - Clear MyDialog
      • Dialog - Show MyDialog for Player 1 (Red)
      • Dialog - Change the title of MyDialog to Please select a pla...
      • Dialog - Create a dialog button for MyDialog labelled Hellish Ramps
      • Set DialogButton[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for MyDialog labelled Outlands
      • Set DialogButton[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for MyDialog labelled Tundra
      • Set DialogButton[3] = (Last created dialog Button)
      • Dialog - Create a dialog button for MyDialog labelled Dungeon
      • Set DialogButton[4] = (Last created dialog Button)
      • Dialog - Create a dialog button for MyDialog labelled Village
      • Set DialogButton[5] = (Last created dialog Button)
      • Dialog - Create a dialog button for MyDialog labelled Underground
      • Set DialogButton[6] = (Last created dialog Button)
      • Dialog - Create a dialog button for MyDialog labelled Cityscape
      • Set DialogButton[7] = (Last created dialog Button)
      • Dialog - Create a dialog button for MyDialog labelled Barrens
      • Set DialogButton[8] = (Last created dialog Button)
      • Dialog - Create a dialog button for MyDialog labelled Random
      • Set DialogButton[9] = (Last created dialog Button)
 
Level 2
Joined
Jan 9, 2008
Messages
15
Thank you, that worked perfectly. :]

And again.. I have a camera bound issue..

I tried to make it move to a point. Than make boundary's around one of my arenas. I tried this trigger...

  • Dialog 2
    • Events
      • Dialog - A dialog button is clicked for MyDialog
    • Conditions
      • (Clicked dialog button) Equal to DialogButton[1]
    • Actions
      • Camera - Pan camera for Player 1 (Red) to (Center of PF1BoundaryCentral <gen>) over 0.00 seconds
      • Camera - Set the camera bounds for Player 1 (Red) to PF1Boundary1 <gen>
      • Camera - Set the camera bounds for Player 1 (Red) to PF1Boundary2 <gen>
      • Camera - Set the camera bounds for Player 1 (Red) to PF1Boundary3 <gen>
      • Camera - Set the camera bounds for Player 1 (Red) to PF1Boundary4 <gen>
Didn't work whatsoever. The camera moved over there. But I had very little room to move my camera around.
 
Level 11
Joined
Aug 16, 2007
Messages
847
I believe you only use one region so instead it would be just
  • Dialog 2
  • Events
  • Dialog - A dialog button is clicked for MyDialog
  • Conditions
  • (Clicked dialog button) Equal to DialogButton[1]
  • Actions
  • Camera - Pan camera for Player 1 (Red) to (Center of PF1BoundaryCentral <gen>) over 0.00 seconds
  • Camera - Set the camera bounds for Player 1 (Red) to PF1BoundaryCentral <gen>
and then just adjust that region to the size of camera bounds you want
 
Level 2
Joined
Jan 9, 2008
Messages
15
Thank you a lot. Ill attempt to give you rep. But usually when I try, It says I dont have premission too, then I get logged out. -.-
 
Status
Not open for further replies.
Top