Staredit Network > Forums > SC2 Assistance > Topic: [Solved] detecting that a building was built
[Solved] detecting that a building was built
This topic is locked. You can no longer write replies here.
Apr 26 2010, 6:03 pm
By: Ahli  

Apr 26 2010, 6:03 pm Ahli Post #1

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

I would like to detect that a building was build.

I need the reference on the building by the event. Then I can use this reference as "triggering unit".

"Any Unit construction is completed" gives me a reference on the worker (SCV). :(




Apr 26 2010, 7:36 pm Centreri Post #2

Relatively ancient and inactive

Event: Unit is created. The reference to the created unit is "Created unit" - it should be in the same category as "Triggering unit".



None.

Apr 26 2010, 7:41 pm Ahli Post #3

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

It's "Any Unit construction is completed" and the correct reference is "triggering progress unit"

Created Unit + triggering unit gives reference to unfinished building in my case.




Apr 26 2010, 7:43 pm Centreri Post #4

Relatively ancient and inactive

Hrrm. Try seeing if "Unit is Created" works instead of construction is completed. If not, I'll see if I can find another way.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-4-22. : 10:20 pm]
anoeth47 -- Sweet
[2026-4-22. : 7:48 pm]
NudeRaider -- https://staredit.net/381642/ really makes you appreciate (again) how good sc music is.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
Please log in to shout.


Members Online: IskatuMesk, anoeth47