I'm trying to set up a mini game where it requires more than 1 ball out at a time (4-8 specifically) and I'm completely lost in scripting this? I want more than one ball out to be able to score a point with to make it more realistic. Please Help!
@D-Rail I just messaged a few scripting pro's to come give you a chat. Hope you can get it worked out. Thanks for joining ForgeHub btw, welcome!!
The scripting gets a little complicated, but hopefully i can guide you through this. First, you should use the gamemode objects known as ¨Ball [Only]¨, once we set up the first ball, you can duplicate it as many times as needed. I need to know how players are expected to score to assist further. But to start out, you should have the ball set up script wise like this: 1 On Boundary Continuous Players 0.05 Power Set Alpha On Activator Wait 0.1 Power Set Alpha Off Activator Condition Interrupt On Round Interrupt On Always Runs On And whatever that other one is, jsut leave it on. Set the balls boundary to a cylinder of 0.25, and height of 4.00. Set up another script on the ball: 2 On Power Alpha On Label Change Add Objects- Activator [Add] Dead [Exclude] Boundary THIS [Include] Label: user:alpha 3 On Power Alpha Off Label Change Remove Objects- Activator [Add] Label: user:alpha Set up another script where the ¨goal¨ should be, and have it detect: 1 On Boundary Continuous All 0.05 Number Change Global Alpha Object Count- user:alpha Offset: 0 2 Number Check Global Alpha Offset: 0 Equal- Constant 2 Score Change Team [Whatever team should recieve score] Scorers Team Add [^^^^^] Increment Constant 1 This may not work, so i will be on later and available to assist.
Ok I was heading there just lacking several other scripts to complete it by the looks of it. There will be 2 man teams and 2-4 teams. The objective is to have 1 goal active at a time and when a team scores it will despawn, spawn an effect to show complete and then spawn the next goal in another location. The plan is for players to have to throw the ball in order to score vs walking in it. I believe I have the second part worked out to where (as example) 1 goal will be channel alpha and upon score send message to despawn and spawn effect on alpha. Second goal spawns on message received alpha and so on and so forth through the channels.