Clan TMMM
Would you like to react to this message? Create an account in a few clicks or log in to continue.


The official site of Clan TMMM
 
HomeHomeSearchLatest imagesRegisterLog in


Latest topics
» Kevkevqaz is back
How to: Continues! I_icon_minitimeby Eat_bacon_daily Wed Feb 22, 2023 7:22 pm

» Hey whats up
How to: Continues! I_icon_minitimeby seankly Tue Feb 04, 2020 10:32 pm

» Gotta click fast - WC3 Mazing #mildlyinteresting
How to: Continues! I_icon_minitimeby hoffmann Wed Jun 21, 2017 10:28 pm

» I'm getting married and you guys are invited
How to: Continues! I_icon_minitimeby Achilles.42 Wed Sep 07, 2016 11:00 am

» Server Photo Album 1
How to: Continues! I_icon_minitimeby Pat1487 Sat Aug 06, 2016 5:28 pm

» Legacy of The Void Beta
How to: Continues! I_icon_minitimeby Achilles.42 Sun Oct 18, 2015 3:21 am

» Hey guys!!!
How to: Continues! I_icon_minitimeby Eat_bacon_daily Fri Oct 16, 2015 11:20 pm

SC2 Links
SC2 Challenge/Tourney Info

Official SC2 Forums

SC2 Curse

SC2Mapster

Team Liquid

SC2 Replayed

SC2 Strategy
WC3 Links
Clan_TMMM[Host] Info

WC3 Challenge/Tourny Rules

Epicwar
Poll
What game does everyone play now?
Starcraft 2
How to: Continues! I_vote_lcap26%How to: Continues! I_vote_rcap
 26% [ 8 ]
Warcraft 3
How to: Continues! I_vote_lcap35%How to: Continues! I_vote_rcap
 35% [ 11 ]
League of Legends
How to: Continues! I_vote_lcap19%How to: Continues! I_vote_rcap
 19% [ 6 ]
World of Warcraft
How to: Continues! I_vote_lcap0%How to: Continues! I_vote_rcap
 0% [ 0 ]
Diablo 2
How to: Continues! I_vote_lcap0%How to: Continues! I_vote_rcap
 0% [ 0 ]
No games at all
How to: Continues! I_vote_lcap10%How to: Continues! I_vote_rcap
 10% [ 3 ]
Other game not listed
How to: Continues! I_vote_lcap10%How to: Continues! I_vote_rcap
 10% [ 3 ]
Total Votes : 31
Transparency

 

 How to: Continues!

Go down 
+4
AmAzIn[G]
TorchBeast
bloodasb
Knight of Gods
8 posters
AuthorMessage
Knight of Gods
Commander
Commander
Knight of Gods



How to: Continues! Empty
PostSubject: How to: Continues!   How to: Continues! I_icon_minitimeSat Apr 04, 2009 5:03 pm

This is a tutorial on how to add continues into your maze making map. I will start assuming the only thing you know about map making is from blood's tutorial.

Starting here:
How to: Continues! Picture2

Now you will make a region in the check point not quite touching the kill regions but not to far away like this:
How to: Continues! Region

you'll do that for each of your check points it helps to name them something like "check1"

First you'll make a trigger to set the checkpoints as a variable in an array it should look something like this:

Code:

   Event - Map initialization
      
   Actions -
      Set CheckVariable[1] = firstcheckpoint <gen>
      Set CheckVariable[2] = secondcheckpoint <gen>
      Set CheckVariable[3] = thirdheckpoint <gen>
      Set CheckVariable[4] = fourthcheckpoint <gen>
      Set CheckVariable[5] = fifthcheckpoint <gen>
      Set CheckVariable[6] = sixthcheckpoint <gen>
      Set CheckNumber = 1 <gen>
      Set Lives = 5 <gen>

the CheckNumber variable comes in play at the lives trigger, it decides which check you revive at

then you will make the revive at check point trigger:

Code:

   Events - Unit - A unit enters check1 <gen>
   Conditions - (Unit-type of (Triggering unit)) Equal to Demon Hunter
   Actions
      Set CheckNumber = (CheckNumber + 1)
      Trigger - Turn off Lives <gen>
      Hero - Add 200 experience to (Triggering unit), Hide level-up graphics
      Unit Group - Pick every unit of type demon hunter and do (Actions)
         Loop - Actions
            Unit - Kill (Picked unit)
      Wait 1.00 seconds
      Hero - Instantly revive DEmon Hunter 0001 <gen> at (Random Point in check(CheckNumber]), Hide revival graphics
      Hero - Instantly revive DEmon Hunter 0002 <gen> at (Random Point in check(CheckNumber]), Hide revival graphics
      Hero - Instantly revive DEmon Hunter 0003 <gen> at (Random Point in check(CheckNumber]), Hide revival graphics
      //ect for all demon hunters//
      Trigger - Turn on Lives <gen>
      Trigger - Turn off (this trigger)

ok now that the checks and lives are set as variables you will make the lives trigger:

Code:

   Events - Unit - A unit Dies
   
   Conditions -
      And - All (conditions) are true
         Conditions
            (Number of living Demon Hunter units owned by Player 1 (red)) Equal to 0
            (Number of living Demon Hunter units owned by Player 2 (blue)) Equal to 0
            (Number of living Demon Hunter units owned by Player 3 (teal)) Equal to 0
            //ect for all demon hunters//

   Actions
      If (all conditions are true) then do (then actions) else do (else actions)
         If - Conditions
            Lives greater than 0
         Then - Actions
            Set Lives = (Lives - 1)
            Wait 1.00 seconds
            Hero - instantly revive Demon Hunter 0001 <ge> at (Random point in CheckVariable[CheckNumber]), Hide revival graphics
            Hero - instantly revive Demon Hunter 0002 <ge> at (Random point in CheckVariable[CheckNumber]), Hide revival graphics
            Hero - instantly revive Demon Hunter 0003 <ge> at (Random point in CheckVariable[CheckNumber]), Hide revival graphics
            //ect for all demon hunters//
         Else - Actions
            PlayerGroup - Pick every player in (all players) and do (actions)
               Loop - Actions
                  Game - Defeat (picked player) with the message: You lose!

the event is basically when a demon hunter dies the conditions is making sure all of them are dead and the actions checks if they have any lives left and if they do it takes away a life and then revives the demon hunters. In the If then statement if you dont have any lives it ends the game.

Alright I hope this comes in help in your many map making adventures any questions or comments post below!

-Knight_of_Gods / Knight_of_Godz / Kog / God
Back to top Go down
bloodasb
Captain
Captain
bloodasb



How to: Continues! Empty
PostSubject: Re: How to: Continues!   How to: Continues! I_icon_minitimeSat Apr 04, 2009 6:14 pm

I need a gui trig that aids in when keys are taken adn someone dies with them. they go abck to region X so cna u do a lil tut on that < and a GUI one on certain keys pen certain doors >
Back to top Go down
Knight of Gods
Commander
Commander
Knight of Gods



How to: Continues! Empty
PostSubject: Re: How to: Continues!   How to: Continues! I_icon_minitimeSat Apr 04, 2009 6:19 pm

ill try
Back to top Go down
TorchBeast
Corporal
Corporal
TorchBeast



How to: Continues! Empty
PostSubject: Re: How to: Continues!   How to: Continues! I_icon_minitimeTue Apr 21, 2009 3:21 pm

You can't learn this way if your a noob like 13phoenix (sorry just an example) in map making they have no idea how to make variables and such custom scripts.
Back to top Go down
AmAzIn[G]
Commander
Commander
AmAzIn[G]



How to: Continues! Empty
PostSubject: Re: How to: Continues!   How to: Continues! I_icon_minitimeSun May 10, 2009 5:29 pm

teaching noobs what variables are, well lets just say isnt the easiest thing

If ur a noob i reccomend opening up a maze with continues and looking at their trigger
just make sure map is a good map, made by a good map maker or makers

also if u want a continue trigger when i release my map ill make an unprotect version of it

it has lots of neat triggers in it

mayb some fancy ones Very Happy
Back to top Go down
X.x-D.a.r.K-x.X
Sergeant
Sergeant
X.x-D.a.r.K-x.X



How to: Continues! Empty
PostSubject: Re: How to: Continues!   How to: Continues! I_icon_minitimeTue May 12, 2009 2:59 pm

kog, i think there's a faster way
Back to top Go down
BackseatDriver
Captain
Captain
BackseatDriver



How to: Continues! Empty
PostSubject: Re: How to: Continues!   How to: Continues! I_icon_minitimeMon Jul 13, 2009 4:16 pm

Does anyone know a unprotected map that has continues? I just wanna see how the variables are used to get continues to work.
Back to top Go down
Knight of Gods
Commander
Commander
Knight of Gods



How to: Continues! Empty
PostSubject: Re: How to: Continues!   How to: Continues! I_icon_minitimeMon Jul 13, 2009 5:23 pm

maze of wootwaffles 2 is unprotected (unfortunatly that is reason it got stolen... last time i ever trust a program that claims to be a protector)
Back to top Go down
BackseatDriver
Captain
Captain
BackseatDriver



How to: Continues! Empty
PostSubject: Re: How to: Continues!   How to: Continues! I_icon_minitimeMon Jul 13, 2009 6:27 pm

thx for help.
Back to top Go down
KevKevQaz
Recruit
Recruit
KevKevQaz



How to: Continues! Empty
PostSubject: Re: How to: Continues!   How to: Continues! I_icon_minitimeTue Aug 04, 2009 11:27 pm

instead of doing "number of living demon hunter owned by player... blablabla"
you can just do "number of living demon hunters on the playable map equal to 0"
and u also only need one check variable !!
Back to top Go down
RKR.
Recruit
Recruit
RKR.



How to: Continues! Empty
PostSubject: Re: How to: Continues!   How to: Continues! I_icon_minitimeTue Jun 01, 2010 2:57 pm

yes but i have better then this and more short
Back to top Go down
Sponsored content





How to: Continues! Empty
PostSubject: Re: How to: Continues!   How to: Continues! I_icon_minitime

Back to top Go down
 
How to: Continues!
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Clan TMMM :: Warcraft 3 :: WC3 Tutorials and Help-
Jump to: