Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Detecting Terran building states
Detecting Terran building states
Aug 28 2008, 4:27 am
By: hdogg86  

Aug 28 2008, 4:27 am hdogg86 Post #1



is it possible to detect when an airborn building lands?



None.

Aug 28 2008, 4:36 am Kaias Post #2



You can detect when a building is landed versus airborne yes.

Just unflag the air or ground elevations in your location and you can know by whether it is or isn't in the location.



None.

Aug 28 2008, 5:51 am StrikerX22 Post #3



Just keep in mind that when it lifts off, it moves up one square, and vice versa when it lands... it's a bit annoying for what i'm working on right now > >...

and of course unflagging ground or air is just for detection.... you can still center that loc on things that aren't its "element." But you won't detect them with it.



None.

Aug 28 2008, 6:33 am Bolshevik Post #4



yes to your question, thats all he wanted to know.



None.

Aug 28 2008, 2:51 pm NudeRaider Post #5

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from hdogg86
is it possible to detect when an airborn building lands?
No, unfortunately not. While landing, buildings cannot be detected in any location.

You could, however, detect absence in combination with deaths.
Always center on the building, and when it's not in that location anymore and the player still has 0 deaths of that building, you know
a) where he is
b) that he's trying to land somewhere
Now you could for example kill all his buildings of that type (hope you only have 1!) and recreate it in a buildable location. Even if you create it airborne you need buildable terrain underneath or you will get an unplaceable error.

If you tell us more about why you need to detect it we could possibly tell you better workarounds for your problem, if that's needed.




Aug 28 2008, 6:26 pm hdogg86 Post #6



actually, disabling the locations detection abilities for air works perfectly, the air building will spawn, and when it lands, another unit will be given. thanks for the assistance :D



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[05:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[05:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[2024-5-28. : 2:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
[2024-5-23. : 3:50 pm]
Ultraviolet -- :wob:
[2024-5-23. : 6:26 am]
UndeadStar -- :wob:
[2024-5-22. : 6:10 am]
Riney -- Somethings never change.
Please log in to shout.


Members Online: Roy, Zergy, Ultraviolet