• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Triggered Chaos Morph Ability

Status
Not open for further replies.
Level 7
Joined
Jun 8, 2010
Messages
283
Okay this is by far the most basic trigger I cannot seem to get to work.

When a unit uses the item, they will morph into another unit, then when using the item once again, they will morph into their original unit form.

  • chaos m16
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to M16 Assault Rifle
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Hero manipulating item)) Equal to TUCU Marine (M16)
        • Then - Actions
          • Unit - Add Chaos (Melee) to (Hero manipulating item)
        • Else - Actions
          • Unit - Add Chaos (m16) to (Hero manipulating item)
I have two abilities for the Chaos. Both are an exact copy of the Chaos ability however the -Data New Unit Type field are different.
For Chaos (m16) the new unit type field is TUCU Marine M16
For Chaos (melee) the new unit type field is TUCU Marine Melee

I really cannot seem to get this working and I do not know why. The most noob mistake I suppose..

Reward: +Rep
 
  • chaos m16
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to M16 Assault Rifle
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Hero manipulating item)) Equal to TUCU Marine (M16)
        • Then - Actions
          • Unit - Add Chaos (m16) to (Hero manipulating item)
        • Else - Actions
          • Unit - Add Chaos (Melee) to (Hero manipulating item)
for a start, you had the functions the wrong way round xP
 
Status
Not open for further replies.
Top