• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Make condition for canceled upgrade {which condition checks type of canceled tech?}

Status
Not open for further replies.
Level 13
Joined
Mar 4, 2009
Messages
1,156
There is an event "Unit cancels an upgrade"
I just want to make condition so the trigger works only on "Wall 1"

something like - canceled upgrade egual to "Wall 1"

but there is no condition "canceled upgrade", there is condition "canceled structure" but it has nothing to do with canceling an upgrade:angry:
 
Last edited:
Level 8
Joined
Mar 12, 2008
Messages
437
  • I would like a double cheeseburger, please
    • Actions
      • Unit - A unit cancels construction
    • Conditions
      • (Unit type of (Cancelled structure)) equal to Topaz Wall
    • Actions
      • ...
That's what you're looking for?
 
Level 13
Joined
Mar 4, 2009
Messages
1,156
EVENT "Unit cancels an upgrade" has nothing to do with researching or canceled structure.
How can i make EVENT "Unit cancels an upgrade" to work only when i have canceled upgradeing from "Emerald Wall" to "Topaz Wall"

{EDIT}
Thats a structure, he asked for a research

lol..i didn´t ask for a research,that i did it would be EVENT "Unit cancels research" but i need canceled upgrade...
(one structure needs to upgrade to another one,if it is canceled i need to do some actions)
 
Last edited by a moderator:
Level 13
Joined
Mar 4, 2009
Messages
1,156
EVETN "unit cancels an upgrade" means that when u are upgradeing one structure to another (better) one but you have canceled it.

It has nothing to do with any research,training,casting spell or constructing.
EVENT unit finished research is for CONDITION "researched teach type" and EVENT "unit cancels an upgrade" should be for condition "canceled upgrade egual to ..." ,but where is condition like that,for canceled upgrade?
 
Level 8
Joined
Nov 9, 2008
Messages
502
BECAUSE

if you look in actions when you want to trigger an upgrade you will see it is

"order unit1 to train/upgrade to unit2"

All I was saying was training/upgrading may be on the same level.
 
Level 13
Joined
Mar 4, 2009
Messages
1,156
  • Untitled Trigger (Canceled Wall 2)
    • EVENTS
      • Unit - A unit Cancels an upgrade
    • CONDITIONS
      • (Unit-type of (Triggering unit)) Equal to "Wall 1"
        • ACTIONS
      • Animation - Change (Triggering unit)'s size to (120.00%, 120.00%, 120.00%) of its original size
(witch is his normal size becouse his art-scaling value is 1.2)

-when i would cancel that upgrade Wall 1 would have size like whole screein becouse the structure in witch he is upgradeing has art-scaling value 7

(art model file of structure in witch Wall 1 is upgradeing (Wall 2) is Mana Flare (Extra) >Targetr<)
 
Last edited:
  • Angry
Reactions: Rui
Level 13
Joined
Mar 4, 2009
Messages
1,156
You can mark this as solved

{EDIT}
  • I would like a double cheeseburger, please
    • Actions
      • Unit - A unit cancels construction
    • Conditions
      • (Unit type of (Cancelled structure)) equal to Topaz Wall
    • Actions
      • ...
That's what you're looking for?

(Unit type of (Cancelled STRUCTURE)) equal to Topaz Wall ,nog good it is canceled construction not upgradeing
 
Last edited by a moderator:
  • Angry
Reactions: Rui
Status
Not open for further replies.
Top