HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

What is a dummy unit?

04-05-2006, 08:48 AM#1
kaldoreielf
What is a dummy unit? and how do i make one?
Lol I don't really care if that sounds noob, everyone finds out somewhere, somehow...
04-05-2006, 10:33 AM#2
PipeDream
In general, a temporary unit that casts a spell or is part of an effect but isn't under player or AI control. Just a name-it gets no special treatment from wc3.
04-05-2006, 10:52 AM#3
Anitarf
A dummy unit usualy has no visible model, no shadow, no attack, and has the locust ability which makes it unselectable and untargetable. It is used for casting spells outside of player's control; for example, let's say you want to make a spell that increases attack damage of allies and reduces attack damage of enemies in range of the caster: a combination of Roar and Howl of Terror. Obvously, your hero can only cast one of the two spells, while the second one has to be cast by a dummy caster that is created by a trigger when the hero casts the first spell. This way, the two spells appear to work as one.

You can also call the units that are used as projectiles by triggers dummy units. These units do have a model, but are equaly unselectable and untargetable, and are only in the game to make a graphical effect.

All in all, the term "dummy unit" is applied to units that the player doesn't control normaly, but are instead created and controled by triggers to achieve various effects.
04-06-2006, 05:41 AM#4
kaldoreielf
So how does it work with no model? I mean what model do I give it to make it invisible?
04-06-2006, 06:41 AM#5
Anitarf
Units - Zone Indicator (custom campaign), for example.
04-06-2006, 06:52 AM#6
kaldoreielf
Yeah, but what MODEL do I use so it has none?
04-06-2006, 08:49 AM#7
SFilip
Quote:
Originally Posted by kaldoreielf
Yeah, but what MODEL do I use so it has none?
something invalid. for example type in as custom "none.mdl"
04-06-2006, 11:15 AM#8
player_72985
Kaldoreielf - "Units - Zone Indicator (custom campaign)" is a model file that will make the unit invisible. Please check all the model files available for the units :)
04-06-2006, 11:44 PM#9
kaldoreielf
ok, now I place it on the map, and it shows a big green cube?
04-07-2006, 01:18 AM#10
Earth-Fury
That big green cube will only show up in the world editor - in game, it will be a blank model.
04-07-2006, 01:36 AM#11
kaldoreielf
ok thanks, so when using it in a trigger, I select the green cube?
04-07-2006, 02:03 AM#12
Ignitedstar
For my dummy units, I just use a wisp with a scale factor of .01 and a selection scale as zero. That works, right?
04-07-2006, 08:24 AM#13
Anitarf
Usualy, you don't preplace dummy casters, but create them dynamically as needed. When you need a spell cast, create the dummy caster, give it the spell, give it an expiration timer and order it to cast the spell.