• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[General] About Chaos

Status
Not open for further replies.
Level 23
Joined
Oct 12, 2008
Messages
1,783
Chaos is a passive transformation skill.
Id like to know
- Can you catch the transformation event? as expected, Unit Spell Event doesnt work.
- What stats are carried over during transformation?
- Do variables associated with the unit carry over?

Basically, is it worth using Chaos over Replace Unit?
 
Don't use ReplaceUnit. With Chaos, variables carry over and UnitUserData carries over.

As far as catching the transform event, I think the Undefend order ID is issued when the unit transforms - though this is speculation. If it does fire, I could add that feature to Unit Event and you can use that. I'll see if I can find some time this weekend to test that. Edit: You can also try the "enters region" event, if you're curious.

As far as stats carrying over - hero stats, auras, item bonuses... you may want to look into this: http://www.hiveworkshop.com/forums/general-mapping-tutorials-278/hero-passive-transformation-198482/

Edit: I have updated Unit Event to include the feature to detect when a unit's type changes: http://www.hiveworkshop.com/forums/spells-569/unit-event-v2-1-0-0-a-201641/
 
Last edited:
Status
Not open for further replies.
Top