• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade 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.
Level 33
Joined
Mar 27, 2008
Messages
8,035
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
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
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.
Top