Guide - Tower Defense

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
As far as I know, I have mentioned the types of the variables I am going to use in the trigger, before the actual trigger.

Also, an update is coming soon.
 
B

bulldogg13

Guest
ya!

ok here is a more updated part of my map ;)i am pretty happy with it so far i am having lots of fun, i still have some problems to fix and i mentioned them earlier. but i will +rep you andrewgosu for this map and your help, it's been all good to me ;) Thank you but it would be nice to get help on a few of those earlier questions no one answered :p.


~Bulldogg13


EDIT: ok Edited on April 10th. this is the latest part of the map so far, has lots work but I'm getting to it ;)

oh and also check this out, i have been using excel too a lot to keep records of stuff, really useful ;) Excel.JPG
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
Please, stop double-posting and if you need any help with triggers, post the triggers, not the entire map.


Updated the whole part 3. Replaced old images with new, better-quality ones plus added a few new triggers. Made it all simpler and easier to follow.
 
B

bulldogg13

Guest
sorry :( i wont double post anymore, i was just getting excited, and i posted the map so you could see how i was doing :( :p. and ok i will look at the new part of the forum.
 

elmstfreddie

The Finglonger
Reaction score
203
I don't get it, why does everyone plan out maps in Excel/Notepad?
Now your putting map planning into tutorials?! Ahh! *runs away*
 
B

bulldogg13

Guest
i have one question, how do i make a creep use a certain ability? like i want the hero to cast divine shield, but he doesn't. so yeah i don't know why, i mean i have the default ability and his normal ability have both divine shield but is there a certain way to activate it. IDK



~Bulldogg13
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
In order to make an unit to cast a (custom) ability, you have to issue it the correct order.
Lets say you want a Paladin to cast "Divine Shield". Because "Divine Shield" does require
neither point nor unit target, You have to look for the "Issue Unit With No Target".
After that, find "Human Paladin - Activate Divine Shield". Order your unit to do that.

However, if you order the unit to cast the ability, it will lose the previous order
(which was the order for moving to next region) and stops. Now comes the clever part.
Remember we set our regions into arrays and used units' custom value to detect which
regions it has already entered? After you have ordered the unit to cast "Divine Shield",
order it to move to the "regionArray[(Custom value of (Triggering unit))]".
Code:
Divine Shield
    Events
        Unit - A unit Is attacked
    Conditions
        (Unit-type of (Triggering unit)) Equal to Paladin
    Actions
        Unit - Order (Triggering unit) to Human Paladin - Activate Divine Shield
        Set tmpPoint = (Center of regionArray[(Custom value of (Triggering unit))])
        Unit - Order (Triggering unit) to Move To tmpPoint
        Custom script:   call RemoveLocation( udg_tmpPoint )
 
B

bulldogg13

Guest
EDIT:

ok i will mess with that later then. but now i just found out this error.

whenever i kill off the gryphons too fast, then the hero will come for the rest of the gryphons. so after i kill off 4 gryhons really fast 8 heros will come out, and then the next round my hero will come. but how do i fix that?

here is a pic of even the "time of next round". there are 2 of them up going at different times.

error.jpg
 
D

Danger

Guest
i am new here.... i need some help :| I AM REALY STUCK AT PART 3 :(( i dont know how to make variables triggers and others.... SOMEONE AND ME to yahoo messenger list norby_boy2006 for help cause i am stuck :( :banghead:
 
B

bulldogg13

Guest
ok calm down...read through the material again. mess around with the material, just kind of figure out what it does. you don't need to post like it's the end of the world :p. just ask what you don't get and maybe you will get some help for it. but like he says in his tutorial before advancing READ over the material untill you get a good knowing of it ;).


~Bulldogg13
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
To create a variable, load the trigger editor and press the
variableButton.gif
button and create the variables I have mentioned in the trigger comments.
 
D

Danger

Guest
done i got it i am almost done.... :D i am at finnish now :) AN AMAZING TUTORIAL !!! very good job :)
 
D

Danger

Guest
My creeps dont spawn o_O i made all that here and nothing happens... count down goes to o.oo.oo and creeps still dont spawn :(( :|

EDIT: Done i made them to spawn BUT they dont spawn on the SPAWN POINT ( First Region ) they span 1 by 1 and on other place plus they just stay and dont go to next region :(
 
D

Danger

Guest
how? i post my map???

EDIT: errmmm is posible that the problem is : I didn't made folders for triggers all triggers are at initialization folder.... :| can be this the problem??? ( BTW: the triggers are one after other in the order like in tutorial... )
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
The folders nor the trigger order does not count. You can post your faulty triggers by clicking on the trigger, pressing right-click on it and selecting "Copy as Text". Then paste it here and wrap it around the code(
code.gif
) tags, by highlighting the text and pressing the previously shown button.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top