• 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.

How do you make hero icon disappear?

Status
Not open for further replies.
Level 4
Joined
Jul 15, 2011
Messages
51
I'm working on Helm's Deep Full v8.5, and near the end I have the hero enter a region. When the hero does, I hide -that- hero and unhide the hero on the horse. That way, it looks like the hero gets on the horse.
However, both hero icons are still there, and it annoys some people. Anybody got some good ideas? :goblin_jawdrop:
 
Level 4
Joined
Jul 15, 2011
Messages
51
Hmm.. Not the exact answer, but tweaking around with some actions gave me the idea to just create the unit instead of unhiding it. However, now I can only find the option to drop the items in the old hero's inventory instead of moving them over to the new one.
 
Level 4
Joined
Jul 15, 2011
Messages
51
I decided to make a trigger where:
Event: Unit enters region
Condition: Unit is Theoden and 1550 seconds have passed
Actions: Create Horse Theoden at region
Give Item carried by triggering unit (slots 1-6) to last created unit
wait 0.1 seconds
Remove triggering unit
Remove horse
 
This can be much simpler if you read the tutorial I've posted already above.

  • Events
    • Unit - Unit enters region
  • Conditions
    • (Triggering unit) Equal to Theoden
    • <other stuff if needed>
  • Actions
    • Unit - Add MountTransformation to (Triggering unit)
    • Unit - Remove MountTransformation from (Triggering unit)
Where MountTransformation is ability based on one of morph abilities (eg. druids).

Add other actions if you need to.
 
Status
Not open for further replies.
Top