dialog help!!

0rcL0rd

New Member
Reaction score
1
Edit : Fixed

Hi,

I want at the start of my game a dialog for each player (total of 4 players).
DialogButtons are :
Human
Orc
Night Elf
Undead

Variables :
Dialog : Dialog Array
Human : Dialog Button Array
Orc : Dialog Button Array
Night Elf : Dialog Button Array
Undead : Dialog Button Array

this is what i got so far but it only works for player 1

Code
Trigger:
  • Dialog1
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Dialog - Clear Dialog[1]
      • Dialog - Change the title of Dialog[1] to Choose Race :
      • Dialog - Create a dialog button for Dialog[1] labelled Human
      • Set Human[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for Dialog[1] labelled Orc
      • Set Orc[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for Dialog[1] labelled Night Elf
      • Set NightElf[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for Dialog[1] labelled Undead
      • Set Undead[1] = (Last created dialog Button)
      • Dialog - Show Dialog[1] for Player 1 (Red)


for player 2 :
Trigger:
  • Dialog2
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Dialog - Clear Dialog[2]
      • Dialog - Create a dialog button for Dialog[2] labelled Human
      • Set Human[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for Dialog[2] labelled Orc
      • Set Orc[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for Dialog[2] labelled Night Elf
      • Set NightElf[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for Dialog[2] labelled Undead
      • Set Undead[2] = (Last created dialog Button)
      • Dialog - Show Dialog[2] for Player 2 (Blue)
 

Inflicted

Currently inactive
Reaction score
63
Try set the event a few seconds later maybe, I don't know if it'l work perfectly at 0.00 seconds.

Otherwise like said above check Dialog Array Size, and possibly combine the triggers?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top