HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Building that summons buildings

01-12-2009, 02:56 AM#1
TheXenocide
Is it possible to make it so that a building is a (undead) worker so that that it can summon other buildings. When I tried this, it made it so the building had the build menu, but I was unable to actually build anything from it. Does anybody know of a way to fix this, or a workaround.

My first thought, is that the building is too far away from the point the new building is going to be summoned at, and since it can't get close enough, the building will never get built. If this is the case, is it possible to modify the summon building "spell" to increase its range? (I searched, but was unable to find a "summon" spell).
Thanks,
-Xeno
01-12-2009, 03:09 AM#2
holyadvocate
I would think it best to use a spell (channel) to do this instead of a real build menu

Use a spellbook with a "build" icon as a fake build menu, and use a trigger to create the building. Build time is easily faked. Use the "wait" function and create an effect at the target location to represent the building process...

the basics, the triggers need improvement, however the general idea is there

spose i could make the trigger to show you...

Trigger:
BuildingBuilding
Collapse Events
Unit - A unit Starts the effect of an ability
Collapse Conditions
(Ability being cast) Equal to Acid Bomb
Collapse Actions
Special Effect - Create a special effect at (Target point of ability being cast) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Wait 12.00 seconds
Unit - Create 1 Footman for (Owner of (Triggering unit)) at (Target point of ability being cast) facing Default building facing degrees

Here is the trigger i described, experiment...
01-12-2009, 03:42 AM#3
TheXenocide
That is a good idea, except that you don't get the "ghost" building effect that turns red/green if you are able to build.