The Tower Contest - The Special 6th Season

BRUTAL

I'm working
Reaction score
118
There is a problem with a trigger in the map template that should be fixed.
Trigger:
  • Unstick
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set TempGroup = (Units owned by Player 12 (Brown))
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Current order of (Picked unit)) Not equal to (Order(move))
            • Then - Actions
              • Unit - Kill (Picked unit)
            • Else - Actions
      • Custom script: call DestroyGroup(udg_TempGroup)

If there is a tower that stuns a unit, the unit will be killed.
At least that is what I am experiencing.
 

HydraRancher

Truth begins in lies
Reaction score
197
There is a problem with a trigger in the map template that should be fixed.
Trigger:
  • Unstick
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set TempGroup = (Units owned by Player 12 (Brown))
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Current order of (Picked unit)) Not equal to (Order(move))
            • Then - Actions
              • Unit - Kill (Picked unit)
            • Else - Actions
      • Custom script: call DestroyGroup(udg_TempGroup)

If there is a tower that stuns a unit, the unit will be killed.
At least that is what I am experiencing.

Have you thought about disabling the trigger? That's what I did.
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
Just asking, is it necessary to include an ability to sell the tower back? For say 50% of the cost?
 

DrEvil

FCRI Associate!
Reaction score
111
I don't think it is necessary but it could add to your score for being productive (placing the tower in the wrong place and getting 50% refund)
( do note I say 'could' not 'will' :p )
 

Romek

Super Moderator
Reaction score
963
I don't think it'll make any difference whatsoever. :p
If your tower bugs if it gets removed or something though - then there's a problem.
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
Hmm.. Maybe I should add additional information stating that tower should only be removed by killing it, (abilities/whack/etc.) it's okay if it doesn't refund right? :p
 

DrEvil

FCRI Associate!
Reaction score
111
why don't you just add a self destruct ability? ( if your saying it can be destroyed..) saves the hassle of telling them the building can be destroyed but with a permanent destroy ability :D
which you can add another event for removing from a stack (of towers built)
 

skyblader

You're living only because it's illegal killing.
Reaction score
159
I guess I'll just add an ability which kills itself, and adds 50% of the gold to the owner when killed.
 

Romek

Super Moderator
Reaction score
963
~750 lines of code so far. about 300 of that is probably just comments. I've gotten used to commenting code for the sake of teaching people (and to make things easier for Ghan). It doesn't hurt either. :p
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
888
I like comments. I also like variables that are named something more informative than "x" and "y".
 

Romek

Super Moderator
Reaction score
963
> I also like variables that are named something more informative than "x" and "y".
What if that's exactly what the variable stores? :p

WIP #2:
 

Attachments

  • WIp1.png
    WIp1.png
    411.1 KB · Views: 335

Ghan

Administrator - Servers are fun
Staff member
Reaction score
888
> What if that's exactly what the variable stores?

You probably need to rethink your code.
 

Romek

Super Moderator
Reaction score
963
I'm contemplating adding a firework-like explosion that can happen once every few seconds. It'll probably be overkill though.

> Pretty tree is pretty OH WAIT SEARING ELECTRIC DEATH-
I've removed the lightning effects now. I think it looked silly considering the small damage (and it lagged).

> You probably need to rethink your code.
JASS:
private struct Projectile
    // Position of projectile
    real x
    real y
    real z
...

:(
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top