Campaign-style Defeat Message (Unwanted)

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

TechGeek001
Member
Posts: 50
Joined: December 29th, 2007, 7:34 am

Campaign-style Defeat Message (Unwanted)

Post by TechGeek001 »

OK, so I'm not exactly sure when this started being an issue for me, but I'm making a pretty typical map that has started, for no reason, to display the Campaign defeat message.

Defeat!
[Load Game]
[Reduce Difficulty]
[<there's another one...]
[Quit Campaign]

What did I do and how can I fix this? All I want is:

Defeat!
[Quit Mission]

Any help would be much appreciated.
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: Campaign-style Defeat Message (Unwanted)

Post by Aero »

Make a custom script.
In it, type this: call EndGame(false)

Nice easy quit ^.^
TechGeek001
Member
Posts: 50
Joined: December 29th, 2007, 7:34 am

Re: Campaign-style Defeat Message (Unwanted)

Post by TechGeek001 »

Aero wrote:Make a custom script.
In it, type this: call EndGame(false)

Nice easy quit ^.^

Code: Select all

Map test aborted due to script errors.
Line 772: Expected end of line.
Apparently, it's the line above the code that has trouble - call EndGame(false) is on line 773.

Code: Select all

//***************************************************************************
User avatar
tru_power22
Old Wrinkly Member
Posts: 271
Joined: January 12th, 2008, 4:42 am
Title: Re-R-Re-Re-Remix
Location: Canada EH?

Re: Campaign-style Defeat Message (Unwanted)

Post by tru_power22 »

TechGeek001 wrote:
Aero wrote:Make a custom script.
In it, type this: call EndGame(false)

Nice easy quit ^.^

Code: Select all

Map test aborted due to script errors.
Line 772: Expected end of line.
Apparently, it's the line above the code that has trouble - call EndGame(false) is on line 773.

Code: Select all

//***************************************************************************

Did you use Jass craft to put this in? Please say no, you can put in the single line of code using the custom script thing in WE(U)
Contact me on WC3 Killing_Spree22, I'm at US west!

To avoid being a noob read this: http://forum.wc3edit.net/everything-els ... t4579.html
This is the official site for team UKS, it's also my home page - http://www.TeamUks.tk

I AM DEAD, I WILL NO LONGER BE POSING HERE. BEEN FUN WITH YOU ALL.
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4441
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: Campaign-style Defeat Message (Unwanted)

Post by Bartimaeus »

Well, obviously not..."MAP TEST ABORTED DUE TO MAP ERRORS". Map test, meaning that it was being tested in World Editor.
TechGeek001
Member
Posts: 50
Joined: December 29th, 2007, 7:34 am

Re: Campaign-style Defeat Message (Unwanted)

Post by TechGeek001 »

So...this WEU thing...can it do anything that would warrant me downloading it?
User avatar
tru_power22
Old Wrinkly Member
Posts: 271
Joined: January 12th, 2008, 4:42 am
Title: Re-R-Re-Re-Remix
Location: Canada EH?

Re: Campaign-style Defeat Message (Unwanted)

Post by tru_power22 »

TechGeek001 wrote:So...this WEU thing...can it do anything that would warrant me downloading it?
Yes, world editor unlimited > then regular world editor, by far....

Totally worth it, lots of function better unit editing, more triggers, auto hero glow, easy loading screen and mini-map image and no-limits.

BTW Bart, he could have added in the line in JASS craft, then tested it in WE...
Contact me on WC3 Killing_Spree22, I'm at US west!

To avoid being a noob read this: http://forum.wc3edit.net/everything-els ... t4579.html
This is the official site for team UKS, it's also my home page - http://www.TeamUks.tk

I AM DEAD, I WILL NO LONGER BE POSING HERE. BEEN FUN WITH YOU ALL.
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4441
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: Campaign-style Defeat Message (Unwanted)

Post by Bartimaeus »

Maybe, but why would you do that? I would just test it straight in warcraft 3, -.-.

When there's a syntax error in world editor, it displays the line of code that has an error as if it were JASSCraft syntax-error check-ed.

Yeah, I know weird, you'd just think it'd tell you what trigger is wrong, and leave you be.
TechGeek001
Member
Posts: 50
Joined: December 29th, 2007, 7:34 am

Re: Campaign-style Defeat Message (Unwanted)

Post by TechGeek001 »

OK, Aero, I got the Custom Script thing right, but that's not exactly what I needed.
What I want is, instead of the Campaign-Style defeat dialog, the standard dialog with the one single button [Quit Mission].
Any way to accomplish that?
User avatar
tru_power22
Old Wrinkly Member
Posts: 271
Joined: January 12th, 2008, 4:42 am
Title: Re-R-Re-Re-Remix
Location: Canada EH?

Re: Campaign-style Defeat Message (Unwanted)

Post by tru_power22 »

AWESOME DEFEAT
Events
--Whatever you want them to be--
Conditions
--Whatever you want them to be--
Actions
Game - --Whatever players you want-- with the message: --YOUR MESSAGE HERE--

Is this what you wanted?
Contact me on WC3 Killing_Spree22, I'm at US west!

To avoid being a noob read this: http://forum.wc3edit.net/everything-els ... t4579.html
This is the official site for team UKS, it's also my home page - http://www.TeamUks.tk

I AM DEAD, I WILL NO LONGER BE POSING HERE. BEEN FUN WITH YOU ALL.