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

[General] Movement - type: None, but with exceptions

Status
Not open for further replies.
Level 15
Joined
Sep 11, 2013
Messages
557
Greetings!
A new problem has arrived.. :peasant-sad:
I want to make some units(spiders) able to walk on cliffs, trees, ground and underwater and i know i can do that if i set Movement - type to "None", but here is my problem..
I still want to have (16)collision size on these spiders, but only with other units(enemies or allies), not with cliffs, trees, ground and underwater..
Is that possible? Is it easy to do?

The help will be appreciated!
 
You're describing a Flying unit that has the standard Ground collision which far as I know is not possible to do through the Movement Type fields.

Through triggers you could create a Dummy unit that is linked to each Spider which periodically moves to their position and acts like their Ground collision. Then you would remove it when the Spider dies. This could be done with a Unit Indexer + Unit Group or Hashtable + Unit Group and a trigger that runs every 0.01 seconds, enumerating over the Unit Group and using the SetUnitX/Y functions to place it on top of the Spider.
 
Status
Not open for further replies.
Back
Top