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.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: l)ark_ssj9kevin