HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Where is a good tutorial to make dummy units??

04-06-2006, 02:20 AM#1
moyack
Hi everybody:

I've tried to find a good tutorial about creation and use of dummy units. If anyone can help me I would appreciate that.
04-06-2006, 02:33 AM#2
Immoralis
make a unit with local, with a blank model and no shawdow

trigger:
create dummy unit
issue order dummy unit ...
wait 5 seconds
remove dummy unit
04-06-2006, 02:52 AM#3
Lord Kass
Make a unit in the unit editor then change the following there

Abilities - Normal = Locust (makes the unit unselectable and invulnerable)
Art - Model File = None
Art - Shadow Image - Center X = 0
Art - Shadow Image - Center Y = 0
Art - Shadow Image - Height = 0
Art - Shadow Image - Width = 0
Art - Special = None
Combat - Attacks Enabled = None
Stats - Food Cost = 0
Stats - Food Produced = 0
Stats - Hide Minimap Display = True
Stats - Sight Radius (Day) = 0
Stats - Sight Radius (Night) = 0

Then put on the trigger

Trigger:
Untitled Trigger 001
Collapse Events
Unit - A unit Starts the effect of an ability
Collapse Conditions
(Ability being cast) Equal to Treatment
Collapse Actions
Unit - Create 1 Dummy for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Add Inner Fire to (Last created unit)
Unit - Set level of Inner Fire for (Last created unit) to (Level of Treatment for (Casting unit))
Unit - Order (Last created unit) to Inner Fire (Casting unit)

Just change the abilities there and in this code

Set level of Inner Fire for (Last created unit) to (Level of Treatment for (Casting unit))

it just sets the level of the inner fire to the one that is being casted

Edited by Blade.dk. Reason: Use trigger tags!
04-06-2006, 03:54 AM#4
jigrael
I learned about dummys here:
http://www.thehelper.net/forums/showthread.php?t=26751
04-06-2006, 08:59 AM#5
SFilip
most likely the best tutorial about dummy units and triggered spells
http://www.thehelper.net/forums/show...t=28117&page=1