Please or Register to create posts and topics.

Energy ball launcher (only one ball)

Hi,
so I have an energy ball launcher which will launch a ball upon pressing a timer switch. I would like to make it so that there can be only one ball bouncing and another one can be launched after the first one has disappeared. I have studied the inputs and outputs, but the point_energy_ball_launcher entity does not have any useful output which would be fired upon ball self-destruction.
Any ideas? :|

Test Chamber 74:
(percentage calculation sphere self-test failed!)
108.1% done, -8.1% remaining...
Released here!

All maps for Portal (1/2) worth playing are mirrored here.

Hmmm.
First idea is:
A huge trigger_multiple.
A filter_combine_ball_type.
Make the trigger see the ball on StartTouch.
StartTouch >> Disable button or related key trigger.
EndTouch >> Re-enable button or related key trigger.

Made Logic Portals in early 2008. Making diportals in 2011.
Author of Minecraft mods (MAtmos, Minaptics, NoteSlider) and Garry's Mod addons (Gunstrumental, SharpeYe, GarryWare, DepthHUD).

For goodness sake, there was a similar topic about this made less than 2 weeks ago! Click Search at the top of the page once in a while! :x

Image
gepy wrote:"The companion toilet cannot speak, however it can take your crap."Journey - no idea on length = don't know the % done

calm down, I just didn't know what terms to search for :wink:
well, in the old topic there is a problem with automatic ball spawning, but I need to avoid multiple balls launched by the player by pressing the switch. See the difference? :wink:
Btw. the idea with trigger_multiple is not bad, but the trigger would have to fit all the space in the chamber and outside it (in the hallways and other chambers), which may consist of multiple brushes. I can't know where the ball gets in the game. Theoretically it can go anywhere in the map from the starting point to the launcher point :?

Test Chamber 74:
(percentage calculation sphere self-test failed!)
108.1% done, -8.1% remaining...
Released here!

All maps for Portal (1/2) worth playing are mirrored here.

The best solution would be to make sure you can't get the energy ball into other parts.

The easy way would be to make one huge trigger brush that covers the whole map.

I don't lag, I own so much it takes a few seconds for the server to figure out what the hell I just did.