WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Developer's Corner > Triggers & Scripts
User Name
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar

Thread Tools Search this Thread
Old 07-11-2017, 10:25 PM   #1
alex_mmm0334's Avatar
Join Date: Jul 2017
Posts: 1

alex_mmm0334 has little to show at this moment (0)

Default How can I ad Keyboard Hotkeys to dialog box

I'm paying a good price to do it for me, [VIA PAYPAL ]

I have a map with a dialog box inside.
I want to use Keyboard Hotkeys For Example ("Up" then "Down") on key board to active dialog buttons for example "Gold Rate+25%".

This map have this ability for activating menu.
call Fukki_MenuActive(false,"EEE")
E = ESC , L = Arrow Left , R = Arrow Right , U = Arrow UP , D = Arrow Down

But I want to use this ability for all of button that I can see on menu.

dialog menu codes:
function Fukki_Gold_Rate1 takes nothing returns nothing
local player fp2p=GetTriggerPlayer()
local integer fi2i=GetPlayerId(fp2p)
local integer fi3i=LoadInteger(fhact[1],0,1)
local integer fi4i=Fukki_Share_Player(fi2i)
call Fukki_Dialog(fi2i,30,2,"|cffffcc00FukKi CP [Gold Rate]|r",function Fukki_Gold_Rate3)
if fbact[fi4i+50]then
call Fukki_Button2(fi2i,0,30,"|cffffcc00Disable|r")
call Fukki_Button2(fi2i,1,30,"|cffffcc00"+I2S(LoadInteger(fhact[1],1,fi4i))+"%|r")
call Fukki_Button2(fi2i,2,30,"|cffffffff+"+I2S(fi3i)+"%|r")
call Fukki_Button2(fi2i,3,30,"|cffffffff-"+I2S(fi3i)+"%|r")
call Fukki_Button2(fi2i,4,30,"|cffffcc00Custom|r")
call Fukki_Button2(fi2i,5,30,"|cffffcc00Back|r")
call DialogDisplay(fp2p,fdact[fi2i+30],fbact[1])

Map file and war3map.j file are attached below.
Attached Files
File Type: zip war3map.j.zip (15.8 KB, 1 views)
File Type: w3x MMM.w3x (57.2 KB, 1 views)
80% of boys have girlfriends.. Rest 20% boys are having brain
alex_mmm0334 is offline   Reply With Quote
Sponsored Links - Login to hide this ad!

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT. The time now is 08:10 AM.

The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2019, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services