Voting screen

ilikeprinters

Member!
Joined
Aug 15, 2004
Messages
25
Reaction score
0
Website
Visit site
how do u get the screen up where there is a question and thenu can press a button to vote

ik its somethign on dialog but i need some help with it

thanks
 

SephirothX89

Member!
Joined
May 19, 2003
Messages
1,074
Reaction score
0
Location
Azeroth
Website
Visit site
Ok, i'ts been a long time sience i used the editor so some of the trigger examples may be off.

Events - Game Time Elapsed is 5 Seconds (for some reason you can't make it as "Map Initsilization" , it just dosent work =/)

Conditions - None

Actions - Create Dialog named Dial0g1
Set Variable (Dialog) = Dial0g1
Create Dialog Button For Dial0g1 labeled "I'm a gay anal noob"
Set Variable (Dialog Button) = "I'm a gay anal noob"
Create Dialog Button For Dial0g1 labeled "He's a gay anal n00b"
Set Variable (Dialog Button) = "He's a gay anal n00b"
Display dialog for (All Players)


Then to make the buttons do thing you would do something like this.

Events - A Dialog Button is Clicked (or something like that)

Conditions - Button Clicked Equal to "i'm a gay anal noob"

Actions - Create 6 "Sexy Man-sluts" at "MAn Whore field" (region)


Hope that helps, If not, Someone with more expirence can make it a bit clearer.
 

IceDevil9

BattleForums Senior Member
Joined
Feb 19, 2003
Messages
3,418
Reaction score
3
Location
CA
Website
www.rcthaven.com
There;s plenty of tutorials. Please read the stickies first, there's links to it in there, in the TD tutorial I wrote. I even wrote a tutorial ona rrays and how to enhance your dialogs using arrays.

-Frank :cool:
 

FreeManKiller

Member
Joined
Aug 28, 2004
Messages
9
Reaction score
0
Website
www.battlenetforums.cjb.net
for one thing, you cannot "create" a dialog. . . u must make one at th var control. . . so ill post the right way . . .

Event - Total time = 0.01
Action - Rename (need to make a var with the type of dialog) last created var name = u can pik
Action - Create a dialog button named w/e
(create another var with dialog button type)
Action - seet var last created var name (1)= lastr created dialog button
Action - Create a dialog button named w/e
Action - set var last created car name (2)= lastr created dialog button
Action - show dialog to all players.


now create antoher trig


Event - Dialog - Dialog button is clicked
Condition - clicked button = to (button var name) (1)
Action - Set var ( need to make a new var with intig type nd 2 array) intiger var name = intig var name + 1


Then create another trig


Event - Dialog - Dialog button is clicked
Condition - clicked button = to (button var name) (2)
Action - Set var intiger var name(2) = intig var name (2)+ 1


Then another


Event elapsded time = to 30 seconds
Action - If/Then/Else - If: Intiger comparison = created var ^^ (1)= to mor than same var (2) Then: Set Var ( create a new var) = 1
Event elapsded time = to 30 seconds
Action - If/Then/Else - If: Intiger comparison = created var ^^ (2)= to mor than same var (1) Then: Set Var ( create a new var) = 2

Now work the last var u made into your map


There you go, gl with mapping
 

NewPosts

New threads

Top