HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Few last multiboard questions

09-20-2004, 02:33 AM#1
TheFirstSword
Ok, I really needhelp now, the last question I asked didn't really help so I'm going to need someone to give me alittle tutorial on how to make this. I'm trying to make a battle system like in herorpg. Can someone give me a brief tutorial on how to make it use the arrow keys to move up and down and put an arrow infront of the text. I also need it so when he presses escape on the text with the arrow it goes to a whole new multiboard. Finally I need it so if they select an attack option it brings up an arrow over the enemies head to witch one to select. Please please help

-TFS
09-20-2004, 02:35 AM#2
light_blade
Eh....don't really get what you're asking...
09-20-2004, 03:09 PM#3
iNfraNe
u will first need 2 figure out how to change behavior of the arrow keys, else the camera will change when u push the arrow key

for the other probs just have 2 variables, multiboard number and rownumber. On a click do: rownr = rownr + 1, and add the arrow to the multiboard, be sure to also remove the arrow from rownr-1
09-20-2004, 09:11 PM#4
TheFirstSword
Quote:
Originally Posted by toot
u will first need 2 figure out how to change behavior of the arrow keys, else the camera will change when u push the arrow key

for the other probs just have 2 variables, multiboard number and rownumber. On a click do: rownr = rownr + 1, and add the arrow to the multiboard, be sure to also remove the arrow from rownr-1
Can you explain it alittle more cleaerer? you seem to have typos and that, I can't understand it.
09-20-2004, 09:49 PM#5
iNfraNe
dont take this as offensive, I just wanna know b4 I try to help u. Do you know how variables work?
09-20-2004, 09:53 PM#6
TheFirstSword
Quote:
Originally Posted by toot
dont take this as offensive, I just wanna know b4 I try to help u. Do you know how variables work?
Yes, I do.
09-20-2004, 09:58 PM#7
Gandalf2349
For some general help, if your using TFT of course there are a couple events

Code:
Event - Player (Presses/Releases) (Up/Down/Left/Right) Key
Code:
Event - Player Skips a Cinematic (detects esc presses whether their in a cinematic or not.

Most people want to have a condition or something like Player is pressing up arrow key. To do that you need to create a boolean and set it to true and false at the Presses and Releases events respectivly.

Edit: do you mean you do know how variables work or yes you do take that as offenseve?
09-20-2004, 10:09 PM#8
iNfraNe
Quote:
Originally Posted by Gandalf2349
Edit: do you mean you do know how variables work or yes you do take that as offenseve?
uhm, what? yes I do know but I dont know the other guy, and if he didnt get my last post (which is quite obvious now I read it again :P) then I start @ bottom instead of spending useless time.
09-20-2004, 10:11 PM#9
-={tWiStÄr}=-
didnt what the map i showed u in other thread help? what was wrong with it? the only difference is the contents of the multiboard and they use an ability instead of esc.
09-20-2004, 11:27 PM#10
TheFirstSword
Quote:
Originally Posted by -={tWiStÄr}=-
didnt what the map i showed u in other thread help? what was wrong with it? the only difference is the contents of the multiboard and they use an ability instead of esc.
I know but I'd still like to know toots way, yes i do know variables
09-21-2004, 08:11 AM#11
iNfraNe
I'll help u out as soon as I get home
09-21-2004, 02:01 PM#12
iNfraNe
ok, back home. There are basically 2 things u can do. Make an arrow as an icon. Have these variables:

RowNr (Integer)
MultiNr (Integer)
SelectedMulti (multiboard)
Multiboards (multiboard array)
MultiboardRows (integer array), this have 2 be set to the number of rows each multiboard has

actions for down press:
Code:
Multiboard - Set the display style for SelectedMulti item in column 1, row RowNR to Show text and Hide icons
set RowNr = RowNr + 1
if RowNr is greater than MultiboardRows(MultiNr) then
    set RowNr = 1
Multiboard - Set the display style for SelectedMulti item in column 1, row RowNR to Show text and Show icons

for up press:

Code:
Multiboard - Set the display style for SelectedMulti item in column 1, row RowNR to Show text and Hide icons
set RowNr = RowNr - 1
if RowNr is smaller than 1 then
    set RowNr = MultiboardRows(MultiNr)
Multiboard - Set the display style for SelectedMulti item in column 1, row RowNR to Show text and Show icons

for Escape press:

Code:
Multiboard - Set the display style for SelectedMulti item in column 1, row RowNR to Show text and Hide icons
set RowNr = 1
set MultiNr = MultiNr + 1
if MultiNr is greater than "number of multiboards" then
    set MultiNr = 1
set SelectedMulti = Multiboards(MultiNr)
Multiboard - Set the display style for SelectedMulti item in column 1, row RowNR to Show text and Show icons

if u want to have a text arrow in front, like this: -> then you have to make a string array for the text on each multiboard cuz blizzard didnt make "multiboard - text of item". But this will get much harder so I suggest u take the play replay icon and use it as icon on each of the multiboard items. Hope this help u out.