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.
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Zycorax, Roy