• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] [REQUEST] Unit Mounts animal

Status
Not open for further replies.
Another thing you can do it in Object Editor ?
Use Item Ability-based spell
Put the Target Attachment Point to "mount" or "chest" (mounted unit bound to be at the chest, I see the most fitting attachment point is at "chest", even for dragon)
I done this before
But I think trigger does perform better than pre-set thing as trigger can be manipulated in-game
Like when the Peasant use Mount ability, create Special Effect and destroy it bla bla bla
 
Create two arrays, unit type and string.

set Units[0] = Footman
set Units[1] = Rifleman
...

set Models[0] = *footman model path*
set Models[1] = *rifleman model path*
...

Then in the mount trigger

set unitType = UnitTypeOfUnitThatMounts
loop custom integer i from 0 to *max index of those arrrays*
If unitType == Units then
Remove unit
Attach effect using Models
skip remaining actions
endif
 
Last edited:
Status
Not open for further replies.
Back
Top