Chicken Courier

tachiKC

New Member
Reaction score
3
How did the people of DotA make the chicken courier. Is it triggered or is there an item that does it?
 

Sil3nt

SUP?
Reaction score
134
Well its an item. Base the ability off Rexxar's spiritbear (because its permenant) and then give it to the item. It could be triggered as well if you want.
 
H

hadha

Guest
like this?

or is there anything missing on my chicken?

oh, just checked and dota does not have any spawning effect for the chicken, but you can change that for yourself
 

Attachments

  • chicken.w3x
    16.7 KB · Views: 193

vypur85

Hibernate
Reaction score
803
Just use the item Amulet of the Wild. It has the Item Ursa Warrior Summon ability. Edit the ability to summon chicken unit. Set the Number of Charges to 1. And give the chicken the Inventory ability.
 

tachiKC

New Member
Reaction score
3
Well now I am trying to make it drop items on death but its not working. Here is my trigger.
Code:
Chicken Item Drop
    Events
        Unit - A unit Dies
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Unit-type of (Triggering unit)) Equal to Chicken Courier
            Then - Actions
                Item - Make (Item carried by (Triggering unit) in slot 1) Drop from Heroes upon death
                Item - Make (Item carried by (Triggering unit) in slot 2) Drop from Heroes upon death
                Item - Make (Item carried by (Triggering unit) in slot 3) Drop from Heroes upon death
                Item - Make (Item carried by (Triggering unit) in slot 4) Drop from Heroes upon death
                Item - Make (Item carried by (Triggering unit) in slot 5) Drop from Heroes upon death
                Item - Make (Item carried by (Triggering unit) in slot 6) Drop from Heroes upon death
            Else - Actions
                Do nothing
 

vypur85

Hibernate
Reaction score
803
Code:
Untitled Trigger 001
    Events
        Unit - A unit Dies
    Conditions
        (Unit-type of (Triggering unit)) Equal to Your Chicken
    Actions
        For each (Integer A) from 1 to 6, do (Actions)
            Loop - Actions
                Item - Create (Item-type of (Item carried by (Triggering unit) in slot (Integer A))) at (Position of (Triggering unit))

This works. It is not leak free.
 

tachiKC

New Member
Reaction score
3
Well thanks. I made a leakless version for anyone who wants it.
Code:
Chicken Item Drop
    Events
        Unit - A unit Dies
    Conditions
        (Unit-type of (Triggering unit)) Equal to Chicken Courier
    Actions
        Set region_leakfix = (Position of (Triggering unit))
        For each (Integer A) from 1 to 6, do (Actions)
            Loop - Actions
                Item - Create (Item-type of (Item carried by (Triggering unit) in slot (Integer A))) at region_leakfix
        Custom script:   call RemoveLocation(udg_region_leakfix)
*edit* When it dies two items of the same type are created. Whats going on?
 

FhelZone

Have a drink of a nice cold mellowberry juice!
Reaction score
103
Does it matter? It's not hard to create either way...

Easy to say hard to do, ok if it is so easy explain the random unit type when you use the item. Sometimes chicken sometimes others. Then the transform thing. So easy is it mister. And by the way for that drop item trigger, I think you don't need any triggers, maybe :rolleyes: try making another inventory skills I remember making a hero inventory that drops the items when the carrier dies.
 

Narks

Vastly intelligent whale-like being from the stars
Reaction score
90
Make the unit be unable to be resurrected. I remember that units which can't be resurrected, and do not leave corpses, will drop their items instantly.

Well, at least for structures.
 

esb

Because none of us are as cruel as all of us.
Reaction score
329
So... for us non-DotA members, what exactly does it do?
 

vypur85

Hibernate
Reaction score
803
Code:
Untitled Trigger 001
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Change
    Actions
        Set Unit[1] = Chicken
        Set Unit[2] = Penguin
        Set Unit[3] = Seal
        Set Counter = (Counter + 1)
        For each (Integer A) from 1 to 6, do (Actions)
            Loop - Actions
                Set Item[(Integer A)] = (Item-type of (Item carried by (Triggering unit) in slot (Integer A)))
        Unit - Replace (Triggering unit) with a Unit[Counter] using The old unit's relative life and mana
        For each (Integer A) from 1 to 6, do (Actions)
            Loop - Actions
                Hero - Create Item[(Integer A)] and give it to (Last replaced unit)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Counter Equal to 3
            Then - Actions
                Set Counter = 0
            Else - Actions
Something like that i think.... Not sure whether it works or not. It's not tested.

I think you don't need any triggers, maybe try making another inventory skills I remember making a hero inventory that drops the items when the carrier dies.
LOL... I never knew its existence >.<. Its simpler your way. Sorry never thought of this :).

To esb:
The chicken has an ability which can transform it to different type of unit type. Either chicken, penguin, rabbit etc etc... It has tactical means in DotA. People usually like to use penguin as it is harder to spot. (That's what i think :))

Edit: After some thoughts, i think trigger dont really work properly. It is not MUI. Maybe need to convert it to MUI. Dont use the Counter variable. Based the unit type off the level of the ability. Everytime it is casted, increase the level. When it reaches its max level, set it to level 1 again. (Hope you understand o_O). I can do the trigger again if you want to but.... kinda lazy :p
 
N

Nederlandtje

Guest
what exactly does it do?
The Chicken Courier carries around some items that you wish to store (for the time being perhaps) because a hero only holds 6 slots. The chicken holds another 6 slots so that's 12. Also you can buy an upgrade that the chicken becomes a raven and it flies also making it a lot faster.
But the Chicken Courier is actually just a critter courier because it is not always a chicken (I haven't ever seen a chicken tbh).
 

tachiKC

New Member
Reaction score
3
Yeah that worked lol. A very simple solution. Although that trigger you showed me could be useful for some other things.

THANKS!
 

Romek

Super Moderator
Reaction score
964
Dots doesn't need to be MUI. Only MPI.
 

thewrongvine

The Evolved Panda Commandant
Reaction score
506
u dont really need any triggers. Base the item with the ability of, like the others said, anything tat summons a permanent unit. In the units, make the chicken or animal have an inverntory.
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
> Mechanical Penguin.

Correction : Mechanical Critter
It's in Human's Arcane Vault.
Give it inventory and make it drop items on death. No need for triggers at all.
 
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