HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How do I create a dialoge?

02-13-2004, 02:35 PM#1
BattleBotv8.2
Any help? I cannot seem to figure it out.
02-13-2004, 02:51 PM#2
xxxSpikexxx
Event:
elepsed time: 0.10 seconds (don't use map inizial)
action:
Dialog - change (dialog) title to (whatever)
Dialog - create a dialog button for (dialog) titled (whatever)
Set Variable - (Dbutton1) = (last created Dialog button)
Dialog - create a dialog button for (dialog) titled (whatever)
Set Variable - (Dbutton2) = (last created Dialog button)
...
as often as you need ...

to activate the dialgo just use: "dialog - show dialog button" after clicking it will disapear automaticly
note: you best diactivate cinematic mode befor showing the dialog else the courser will be invisible...
"Dbutton" is only an example of course so you can figure out wich button is pressed later ...

example:
event:
dialog button click
condition:
(clicked dialog button) = (Dbutton1)
actions: whatever
02-13-2004, 06:51 PM#3
BattleBotv8.2
Could you give an expample map? I dont understand what you said (Sorry, very tired and bad headache).

Edit:

3 More questions, I sure lost my map making ability after about 1 year...

1: How do I make a guy look like hes on his back sleeping?
2: I cant get a trigger to work once you attack a unit...
3: I have seen maps where once you click on a unit or walk by a unit you get a texted message, not with the Game - Texted Message, it shows up near the unit, like they are talking.

Event:
Unit - Player-Owned unit Event;
A unit owned by Neutral Passive Is Attacked

Condiction:
Unit Comparisen;
(Attacking Unit) Equals to XUnit

Action:
Create special effect and kill unit.

---

Thanks for any help.