ok i am reading a map i deprotected. And im onlly slightly ok with Jass new language for me.
But here is my problem. I see the part where they make the dialog called "Host Options" after the Call. But where is the part that says. (and im parphrasing) When ESC key is pressed by red show "Host Options".
What does that look like in Jass? What is the Call for ESC key in Jass?
I will post the Jass in Text file since it is long
need help with dialog
Moderator: Cheaters
-
- Newcomer
- Posts: 1
- Joined: June 22nd, 2009, 4:23 am
need help with dialog
You do not have the required permissions to view the files attached to this post.
-
- Spice Pirate
- Posts: 862
- Joined: January 29th, 2009, 5:35 pm
- Title: LHC
- Location: Canada
Re: need help with dialog
I got this from looking through TBR 2.0's script...
So, replace "trigger t" with whatever trigger it should be for, and "player p" with the player it should trigger for (example, Player(0) for red).
Then
And replace "trigger t" with the same thing as above, and change SomeFunc to whatever function it should run.
Code: Select all
call TriggerRegisterPlayerEventEndCinematic(trigger t,player p)
Then
Code: Select all
call TriggerAddAction(trigger t, function SomeFunc )
Spoiler:
-
- Forum Staff
- Posts: 811
- Joined: January 1st, 2008, 12:58 am
Re: need help with dialog
If FT didn't cover it i'll try and explain a tad more.
The call for cinematic was right, and the call for dialogdisplay is
true to show, false to hide.
Not sure if it's the exact arguements taken, i'm on a public cpu without jasscraft.
If you want help to coding your own dialog, just reply and say so.
The call for cinematic was right, and the call for dialogdisplay is
Code: Select all
call DialogDisplay( true )
Not sure if it's the exact arguements taken, i'm on a public cpu without jasscraft.
If you want help to coding your own dialog, just reply and say so.
-
- Spice Pirate
- Posts: 862
- Joined: January 29th, 2009, 5:35 pm
- Title: LHC
- Location: Canada