wc3edit.net

United Warcraft 3 map hacking!
It is currently March 28th, 2024, 1:50 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Exit dialog
PostPosted: July 4th, 2012, 2:27 pm 
Offline
Forum Staff
User avatar

Joined: June 8th, 2008, 3:05 am
Posts: 370
Location: Australia
Code:
function vt takes nothing returns nothing
    if (ZS()) then
        set pJ = false
        set Dj = true
        set fj = WQ(Condition(function WS))
        if (zS()) then
            set Zc = GetTriggerPlayer()
            call DialogClear(Fj)
            call DialogSetMessage(Fj, "Choose an enemy")
            call ForForce(fj, function YS)
            call DialogDisplayBJ(true, Fj, GetTriggerPlayer())
            call DestroyForce(fj)
        else
            call DisplayTextToForce(WQ(Condition(function yS)), "|cffff0000Do not have enough players to have a duel..|r")
            call DestroyForce(fj)
            set Dj = false
        endif
    else
        call DisplayTextToForce(WQ(Condition(function tS)), "|cffff0000Error: A duel is already 'in progress'.|r")
    endif
endfunction


I want to able to have a "cancel" button.

_________________
www.missingninja.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)