HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

GetConstructedUnit?

06-03-2004, 06:48 PM#1
-={tWiStÄr}=-
Why isnt there such a function? I'm need it for an edited Tiny Great Hall. Is there any way i could refer to it differently? like use unit finishes casting instead of unit finishes construction?
06-04-2004, 11:44 AM#2
PitzerMike
Maybe this is what you are looking for:

constant native GetConstructedStructure takes nothing returns unit
06-04-2004, 02:31 PM#3
-={tWiStÄr}=-
No that gets a structure that has just been completed with the unit finishes construction. and the GetConstructingStructure is for a building that just started construction.
06-04-2004, 03:48 PM#4
Cubasis
Erhm.... I'd guess that the Tiny Stuff works as a summon.... try that.

A Unit Finishes SUmmoning a ...whatever
Get Summoned Unit

~Cubasis
06-04-2004, 09:52 PM#5
-={tWiStÄr}=-
YAY THANK YOU IT WORKED! but its only lucky that It wasnt a real construction thing like from a peon.. cause then i would have to time everything and all... that'd be bad.
Thanks
edit: wait... hold on a sec lemme do more testing then ill get back to you..
edit2: nope, that doesnt detect it.
06-06-2004, 04:24 PM#6
-={tWiStÄr}=-
eh.. well since no one can figure it out i guess since it will only be 1 of 2 preplaced units building it when the maps done i can use vars pointing to the hero.. It would be a lot cleaner if I could do it now tho..