• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Special effect or Dummy (missile - efficiency)

Status
Not open for further replies.
Level 6
Joined
Jul 14, 2020
Messages
128
Hi hive, I have a question about which is more efficient in this case:
I want a normal unit to work like a missile, so I make it transparent to visually put the "new unit model" on top of it (as if it changes models, when it really doesn't). This can be done in 2 ways, by creating a special effect that will constantly follow the unit OR by creating a new dummy unit with the new model that will also constantly follow the original unit.
Which of the two ways is more efficient, consumes less RAM and generates fewer leaks?
I am comfortable with both ways, but I want to know which one is better in terms of efficiency.

Thx :grin:
 

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,576
What about the third option: Use only Special Effects
Though this depends on which version of Warcraft 3 you're using.

Anyway, it's safe to assume that a Special Effect is less taxing than a Unit. Think about all of the properties of a Unit vs a Special Effect.
 
Status
Not open for further replies.
Top