Jump to content

How do I do script?


Recommended Posts

Hello there,

 

I'm making a Forge map and while that's going pretty smooth I'm having trouble with scripting.
See I want to make a kill ball appear/disappear with a switch which will explode some fusion coils and make a lot of noise so footsteps and such wouldn't be heard that well.

 

Now the problem is that I can't make it appear/disappear. Here's the settings as of now:

 

2 switches (with toggle switches phased into them) with the script settings
-Spawn Channel: -1
-Can Despawn: False
-Power Channel: -1
-Broadcast Chanel: 1
-Timer/user data: 0

 

1 Kill ball with the script settings

-Spawn Channel: 1

-Can despawn: False
-Timer/User data: 0

When I put down a gate to see of I messed something up the gate would activate but the kill ball just wouldn't appear/disappear.

What did I do wrong???

 

Thanks in advance,

Unease P34nut

Link to comment
Share on other sites

I figured it out. I had to set the Spawn channel on the switches and objects to 1.

I also had to turn off spawn at start and set the respawn timer to 0 or else it would briefly trigger the Kill Ball and cause the Fursion Coils to explode anyways.

 

Thanks anyway :)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...