root/uproot problem

velnias

New Member
Reaction score
13
I have my defence map. And in there i try to make "creeps spawning" for attackers with random armour type. I try to make this with root/uproot ability. I use these triggers:

Code:
armourtypes
    Events
        Map initialization
    Conditions
    Actions
        Set armour[1] = Unarmored armour 
        Set armour[2] = Small armour 
        Set armour[3] = Normal armour 
        Set armour[4] = Medium armour 
        Set armour[5] = Heavy armour 
        Set armour[6] = Fortified armour 
        Set armour[7] = Hero armour 
        Set armour[8] = Divine armour

Code:
addarmour
    Events
        Unit - A unit enters (Playable map area)
    Conditions
        (Owner of (Triggering unit)) Equal to attackers
    Actions
        Unit - Add armour[(Random integer number between 1 and 7)] to (Triggering unit)
        Unit - Order (Triggering unit) to Night Elf Ancients - Uproot

Everything work good except that after ability that give to unit random armour type they lose movement capabilities.

sry for bad english
 

demotry241

Don't Ever Categorize Yourself.
Reaction score
105
I know they are in one ability.


I gotta ask you.... why do you need to uproot?
 

velnias

New Member
Reaction score
13
i use uproot to change armour type in game. and that ability changes it, but are disadvantage. after that units cannot move any longer.
 

demotry241

Don't Ever Categorize Yourself.
Reaction score
105
use the orc burrow(someone correct me if I am TOTALLY WRONG) upgrade because it changes the armor type of unit..


then use a trigger

set level of upgrade to (random number?)
 

demotry241

Don't Ever Categorize Yourself.
Reaction score
105
tech tree requirements?, Well then REMOVE THEM!~ THIS IS SPARTA~!!!

and if your gonna use upgrades make sure your units is affected by the upgrades.
 

velnias

New Member
Reaction score
13
i talk about units that will use these upgrades.
Anyway, i think if i use your way. Then in one level(example. creep spawn level1) all units gets the same armour type in level1, but i need, that each unit will get random armour type.

sry for bad english :p
 

demotry241

Don't Ever Categorize Yourself.
Reaction score
105
That is true....my only solution would be create 2 upgrades

upgrade 1 and upgrade 2

level 1 creep will use upgrade 1
level 2 creep will use upgrade 2
level 3 creep will use upgrade 1

etc...
 

demotry241

Don't Ever Categorize Yourself.
Reaction score
105
okay, i first told you about the upgrade the orc burrow defense thingy


now click that orc burrow defense upgrade, CTRL+C, then CTRL+V

it will copy paste, making a new orc burrow defense upgrade..

now change its name.. to the name you like.

now we have 2 upgrades.
1.)orc burrow defense upgrade
2.)orc burrow defense upgrade with name change..

now Creep 1 has its upgrade used to orc burrow defense upgrade
then Creep 2 uses orc burrow defense upgrade with name Change.


so that Creep 1 and Creep 2 armor dont have the same upgrades and Armor Type ^^
 

velnias

New Member
Reaction score
13
i will keep your mind for later :)
But now maybe anyone know how to fix root/uproot problem?
 
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