• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

help me solve a priority issue

Status
Not open for further replies.
Level 1
Joined
Feb 9, 2022
Messages
2
So im in the process of making a pve game where i try to mimic a flash game called epic war, Ive gotten very far already but stumbled upon an annoying issue i cant seem to fix. That is, my units are working with 0 collision size and flying so they can stack onto eachother. Now my units spawn behind the castle and move towards the enemy castle(castles have big collision size cz theyre big) But since units are flying with 0 collision they can move trough the castle, which is wat i want, at least for my own units. The idea behind that is that if the enemy overpowers you with a big wave of units, u can stack ranged units behind the castle to destroy them, now heres the issue. Whenever an enemy sees a unit which is behind or moving through the castle, they immediatly start to walk towards them, so the point of the castle blocking the enemy is useless.


i hope the explanation makes sense, if anyone could help me it would be super kind!
 
Status
Not open for further replies.
Top