Protoss Probe
This topic is locked. You can no longer write replies here.
Nov 28 2009, 9:31 pm
By: Apos  

Nov 28 2009, 9:31 pm Apos Post #1

I order you to forgive yourself!

Is there a way to make a probe not be able to build buildings for a certain amount of time?

I am making a defense map. In between the levels, the probe can build pylons but during the level, he can't build them. The way I'm doing right now is detect when a player builds the pylon and remove it. It works pretty well but I wanted to know if there was an other way of doing it.




Nov 28 2009, 9:34 pm Devourer Post #2

Hello

You cannot disable/enable buttons via triggers, that would only work for buildings which got requirement-buildings like the cybernetic core needs a gateway: if you don't want the player to be able to build a core: remove the gateway. This also is not useful for every type of map.
I'm afraid for pylons there is no other way than doing what you said.



Please report errors in the Staredit.Network forum.

Nov 28 2009, 9:38 pm Apos Post #3

I order you to forgive yourself!

Anyway, in my map, my detection is instant and the warp doesn't even show.
The only thing that I didn't like was that the sound after the pylon was build would still play.

Post has been edited 1 time(s), last time on Nov 28 2009, 9:43 pm by apos.




Nov 28 2009, 10:14 pm ClansAreForGays Post #4



Mapping's equivalent to "white people problems" :lookaround:

Does gas have a purpose in your map? you could make pylons cost 1 gas, and constantly set their gas to 1 when it's ok to build, and 0 when it's not.




Nov 29 2009, 12:05 am poiuy_qwert Post #5

PyMS and ProTRG developer

Or transfer the minerals to DCs then back next round (using binary count offs).




Nov 29 2009, 1:43 am Apos Post #6

I order you to forgive yourself!

I guess that's what I'll do; changed it so the pylons cost 1 gas and during the levels, transfer the gas to death counters.
This was pretty simple.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:59 am]
NudeRaider -- *is
[05:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
[10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[2024-5-14. : 10:05 am]
Moose -- ya
[2024-5-14. : 5:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
Please log in to shout.


Members Online: 8emmac9891ga2, IlyaSnopchenko, Whitby