I have a tower defence that i am making, and what i am trying to accomplish is to upgrade the tower selected, but it is only upgrading the last tower built. Here is my upgrading code:
function everything() {
for (l=0; l<dtn; l++) {
dartSelected = dartTowerForReal[l]...
its weird, i got it off of thehive.net, and when i am selecting the model in the object editor, it shows the model, but in the actual editor and when i start the game, it doesnt show up. and yes, i tried restarting the editor. Please help.
I have archers and i want it so that when the archer is targeting an enemy that is nearby a freindly unit, it has a chance to attack the friendly unit instead. Is this possible? How?
ya, darkritual is the name of the spell, i have a lot of variables to it helps me organize them. And is there a max number of variables? thanks for all the help btw
Dark Ritual 1
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Dark Ritual (Death Knight)
(Level of Dark Ritual (Death Knight) for (Triggering unit)) Equal to 1
Actions
Unit Group - Add (Target unit...
I am trying to make a spell where when you cast breath of fire it will select a random unit out of the units affected and make all of the units suck into the selected unit at once. That is the part of the spell i am having trouble with. I am unable to even make them move.
And another...
Here is my code, and it doesnt do anything.
Sell Tower
Events
Unit - A unit Finishes training a unit
Conditions
(Unit-type of (Trained unit)) Equal to Sell Tower
Actions
Special Effect - Create a special effect at (Position of (Trained unit)) using...
The timer window will show but the timer itself wont.
My Code:
Wave1
Events
Time - Timer[1] expires
Conditions
Actions
Countdown Timer - Destroy TimerWindow
Countdown Timer - Start Timer[2] as a One-shot timer that will expire in 30.00 seconds...