Hey everyone my name is billy GT The1nhuman3 im looking for help with scripting, I need it script the cups in the Beer pong mini game and more complex scripting for a huge infection map would gladly shoot credit where it’s due thanks for reading please help n.n
I might be able to help. What do you need the scripts to do? It helps if you organize complicated scripting into steps with a list:
- Step one - Step two
> 2533274985652665;2:
> I might be able to help. What do you need the scripts to do? It helps if you organize complicated scripting into steps with a list:
>
> - Step one
> - Step two
Sorry for the late reply but im horrible at scripting but I need a way for the cups to despawn when the balls makes it in the cup thats pretty much
> 2535409710870185;3:
> > 2533274985652665;2:
> > I might be able to help. What do you need the scripts to do? It helps if you organize complicated scripting into steps with a list:
> >
> > - Step one
> > - Step two
>
>
> Sorry for the late reply but im horrible at scripting but I need a way for the cups to despawn when the balls makes it in the cup thats pretty much
Not sure if you have figured it out yet but if not you can hmu on xbox but if you know how to make a pressure plate a design like that might work.
I thought about the pressure plate first too, but I’m not sure if an object will stop them from spawning. I tested putting a vehicle on a floor piece setup like a pressure plate, but I can’t recall if it just sat there or if it feel thru the floor. I need to test that and then I’ll come back with info.
There’s a couple of things that might work:
- Place a small object inside the cup and detect if it gets knocked over by the ball. Use these settings:
- Physics: Normal - Despawn: On Disturbed: Time: 1s - Or Respawn: On Disturbed: Time: 1s - Use a script to detect when the object spawns or despawns. - Note: objects often don’t like to despawn according to their Despawn settings if any players are anywhere nearby and if they do despawn it can take much longer than the time you use. It usually takes longer in Forge than it does in Customs. Respawn will likely be quicker and more reliable, as long as players aren’t inside the space where the object will spawn (or very close to that). - You can try welding an object that can take damage (explosives, etc) inside the ball and put an FX that cause damage (fire, etc) or kill ball inside the cup and then detect when the explosive is destroyed.I’ll try to test it out and see what works soon. Let me know if you guys figure it out and what worked. Remind me if I haven’t reported back.