HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Another Multiboard problem

02-10-2004, 08:00 PM#1
KyoZic
I'm making a multiboard wich works like this: When you press down or up arrow a arrow moves on the multiboard. So far It's good. But when i press the up arrow after the down arrow then it still moves down one step, then moves up. Does anyone know what the problem is?

KyoZic
02-10-2004, 08:01 PM#2
Draco
Your problem is your trigger.

Our problem is we aren't mind readers.
02-10-2004, 08:06 PM#3
KyoZic
Ok... So you want to see the trigger?

[edit] Trigger is gone becouse it took so much space. =)
02-10-2004, 08:08 PM#4
MysticGeneral
The problem is the order of the If then else multiple actions. You're actually setting the variable to "2" and then the next part of the trigger asks again "If this variable is equal to 2" then it is 2, because you just set it to 2. Then the next part of the trigger asks for if the variable is equal to 3... Etc etc..
02-10-2004, 08:13 PM#5
KyoZic
Hmm you might just have given me an idea of how to do it. Thanks :P

Bah... Nevermind, I don't think that will work anyway.
02-10-2004, 08:14 PM#6
MysticGeneral
Huh? You got me a bit confused there. Did you mean it won't work to your new idea that I gave you?...?
02-10-2004, 08:22 PM#7
KyoZic
Oh... wait I'll try something new...

Did you mean to change the order of the if then else in the upwards trigger? If you did then its not working :////
02-10-2004, 08:22 PM#8
MysticGeneral
Use multiple variables for each text. For example, make row 1 column 1a variable, row 2 column 1 a variable. Make them all booleans. Then in conditions do something like...

[code]Events: Player 1 presses down key
Conditions: R1C1 is equal to true
R2C1 is equal to false
R3C1 is equal to false
Actions: Set text in R1C1 to blah weee
Set text in R2C1 to |cffff00ffBLAH WEE|r/code]

I think you're smart - you should be able to get the rest of the triggers. And make sure each one is seperate and not in the same trigger - else you'll end up with what you had last time.
02-10-2004, 08:25 PM#9
KyoZic
Ok... Thanks for the advice :P You helped alot.
02-11-2004, 01:12 PM#10
KyoZic
Bah I still Cant get it to work.

Here's what I've done now:

Code:
Multiboard DownR0C6
    Events
        Player - Player 1 (Red) Presses the Down Arrow key
    Conditions
        Multi_R0C6 Equal to False
        Multi_R1C8 Equal to False
        Multi_R2C8 Equal to False
        Multi_R3C8 Equal to False
        Multi_R4C8 Equal to False
        Multi_R5C8 Equal to True
    Actions
        Multiboard - Change the value of (From Multi_Main_Item get item in row 0, column 6) to |cffffcc00->|r
        Multiboard - Change the display style of (From Multi_Main_Item get item in row 0, column 6) to Show the value and Hide the icon
        Multiboard - Change the display style of (From Multi_Main_Item get item in row 5, column 8) to Hide the value and Hide the icon
        Multiboard - Change the display style of (From Multi_Main_Item get item in row 1, column 8) to Hide the value and Hide the icon
        Set Multi_R0C6 = True

The rest of the triggers look just like this, only with different numbers and variables.