Cube and Gel droppers?

Avatar
rustyg93
7 Posts
Posted May 22, 2011
Hey forum,
I have yet again hit another problem.
I noticed that one cube as a prop sucks and if you lost it in the water, it was gone. So I attempted to make a cube dispenser or cube dropper. I couldnt find the entity after slowly scanning the entity list and decided to move on and try out the Gel. It worked, but only after making a Prop_static with the model of the old Cave Johnson Geldropper (the only dropper I could find) and sticking an info_paint_sprayer up it. And for the Cube dispenser I couldnt find the Model at all, I just tried an entity spawner and named the cube i already had "cube 1". I then told the cubespawner to make that and told a button to trigger the cubespawner and at the same time fizzle the cube which was already on the map. Ofcorse it didn't work. It fizzled the cube and a new one didn't come, which caused me to not know what the hell I was doing anymore. Any ideas?
I was also wondering at the time if I was just making it complicated and if there was some kind of dropper entity for everything that I just didn't see, or was I on the right track after all? :confused:

Thanks for any incoming answers!

Advertisement
Registered users don’t see ads! Register now!
Avatar
Nacimota
345 Posts
Posted May 22, 2011
Replied 3 minutes later

Use an instance, it does most of the work for you.

http://developer.valvesoftware.com/wiki/Dropper_(Portal_2)

http://developer.valvesoftware.com/wiki ... _instances

Avatar
rustyg93
7 Posts
Posted May 22, 2011
Replied 26 minutes later
Thanks =)