Island Defense
May 22, 2012, 10:19:10 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: not so new version:  3.0.6G4, 3.0.8d
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Special Towers  (Read 664 times)
0 Members and 2 Guests are viewing this topic.
EpiC_PandemiC
Murloc
*

Karma: +1/-2
Posts: 65


View Profile
« on: September 01, 2008, 04:01:51 PM »

So, there i was building my nice methane tower with ogre. sadly titan ran away form the base I was in, and i decided to put in on my hunter for transportation. I clicked the cancel button and my tower disappears, but it doesn't go back to an item  Huh?. Is this supposed to happen, or is it just with this one tower?

Note- this is after i built the tower. transmuted it, and was building it again.
Logged



Credits to RadioactiveFTW for the sig.
Aflacduck
Guest
« Reply #1 on: September 01, 2008, 05:20:42 PM »

This happens to every tower. It's happened to me before. It SUCKS.
Logged
Illumanus
Titanious Minion
*****

Karma: +28/-80
Posts: 672


Kind king, amiright?


View Profile WWW Email
« Reply #2 on: September 01, 2008, 05:23:07 PM »

Lesson learned? lol
Logged

Quick! You only have 4 minutes to save the world! Karma + me to do it! If you already +'d me, then thank you for saving the world!

But she made me cry v.v
EpiC_PandemiC
Murloc
*

Karma: +1/-2
Posts: 65


View Profile
« Reply #3 on: September 01, 2008, 07:13:49 PM »

meh i think so  Cry sucks though.
Logged



Credits to RadioactiveFTW for the sig.
adam7979
Silly Goose
Global Moderator
Titan Hunter
*****

Karma: +45/-44
Posts: 375



View Profile
« Reply #4 on: September 01, 2008, 07:38:35 PM »

yacapo said he's too lazy to fix it. Lesson of the day? wait till it's finished. lol
Logged

+karma me if you think my dick is long;
-karma me if you think my dick is longer than yours.
13omb
Spearloc
***

Karma: +9/-13
Posts: 167


13omb, usa west


View Profile
« Reply #5 on: September 10, 2008, 08:57:10 PM »

yeah i think its one of those things you got to learn by having it done to yourself
Logged

explosions are awesome...
AoW_Hun7312
Spearloc
***

Karma: +9/-16
Posts: 205


Warcraft III Map Maker


View Profile
« Reply #6 on: September 10, 2008, 09:24:33 PM »

yacapo said he's too lazy to fix it. Lesson of the day? wait till it's finished. lol

This is an easy fix, doable is GUI.

Code:
Trigger
    Events
        Map initialization
    Conditions
    Actions
        Set arraySpecialTowers[1] = <INSERT TOWER HERE>
        etc.

Code:
Trigger
    Events
        Unit - A unit Finishes construction
    Conditions
        ((Triggering unit) is An Ancient) Equal to True
    Actions
        Unit Group - Add (Triggering unit) to SpecialTowers

Add unit type classification to the special towers "Ancient" (assuming no other units have that.)

Code:
Trigger
    Events
        Unit - A unit Cancels construction
    Conditions
        ((Triggering unit) is in SpecialTowers) Equal to True
    Actions
        Item - Create arraySpecialTowers[(Point-value of (Triggering unit))] at (Position of (Triggering unit))

Make the point value of that unit the that of the array number of the unit. Wallah, problem solved.

Logged
Darox
Controversial!
Administrator
Get a life
*****

Karma: +92/-51
Posts: 9000



View Profile Email
« Reply #7 on: September 10, 2008, 10:52:47 PM »

Thats a pretty bad triggering system.

Not to mention it won't work in the ID system because we use point values for xp.
Logged

Quote from: BodyHammer
I HATE ALL MINORITIES.  WHITE POWER.  I ALSO BEAT WOMEN.
Yesterday my girlfriend pissed me off so I punched her.  Why did she piss me off so much?  She got snippy and was all like "You're a pedophile" so I got pissed and was like "Bitch, don't call me that, and how the hell do you even know that word?  You're only 8."

P.S.  Darox rocks.
Ninja_Sheep
Speedy Turtle
**

Karma: +10/-2
Posts: 133


View Profile
« Reply #8 on: September 11, 2008, 04:50:47 AM »

Well, you could still trigger it pretty easily. The only problem is to check wether the tower is beeing constructed the first time (so you get resources instead of item) or built of an item (so the item is recreated).
Logged
relaets
Spearloc
***

Karma: +2/-3
Posts: 158



View Profile Email
« Reply #9 on: September 11, 2008, 04:30:29 PM »

you'd have to subract gold cause i think you get some gold when you cancel building stuff that costs gold
Logged
AoW_Hun7312
Spearloc
***

Karma: +9/-16
Posts: 205


Warcraft III Map Maker


View Profile
« Reply #10 on: September 11, 2008, 04:41:37 PM »

you'd have to subract gold cause i think you get some gold when you cancel building stuff that costs gold

Not when it's the item ability (Try using Ivory Tower (Ladder) and cancelling it.
Logged
Darkside121
Banned
Murloc
*

Karma: +0/-15
Posts: 63



View Profile
« Reply #11 on: September 11, 2008, 11:15:55 PM »

meh be add a qarining about canceling?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!