Snippet Item Changing Hero

R

Rotterdam_dj

Guest
HERO CHANGER

This is a basic concept when a hero picks up or buys this item from a merchant he/she's character will change into the nominated hero in the trigger.

The purpose of this?
Is to add somthing different to your map even if it is irelivant in most cases, or just some fun.

~CODE~
Shop Sells item
Code:
Events
    Unit - A unit Sells an item (from shop)
Conditions
    (Sold Item) Equal to (Item carried by Archmage 0000 <gen> of type Helmet of Hero Change)
Actions
    Trigger - Turn on change hero <gen>
change hero
Code:
Events
    Unit - A unit Acquires an item
Conditions
    (Item-type of (Item carried by Archmage 0000 <gen> in slot 1)) Equal to Helmet of Hero Change
Actions
    Unit - Replace (Triggering unit) with a Paladin using The old unit's relative life and mana
 

Attachments

  • Item Change test.w3x
    21.1 KB · Views: 228

UndeadDragon

Super Moderator
Reaction score
447
This is definately not a tutorial and it is not much of a system either.

Basically, you are just replacing a unit when he acquires an item. Also, what is the point in the first trigger? The second trigger will work when the unit/hero buys an item from the shop.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top