Author Topic: Scripting help - fire traps exploding  (Read 6106 times)

otarono

  • Posts: 2
  • Maggot Crusher.
    • View Profile
Scripting help - fire traps exploding
« on: June 07, 2016, 02:19:43 PM »
So I'm learning scripting right now for levels, and I'm following this guy's youtube tutorial, (https://youtu.be/i-6nqTmRGz0?t=108) but instead of the fireballs going straight across or in a wave pattern, they just explode where they spawn so I can't cross the hallway, and I'm unable to figure out what's up with it.

Could I get some help from you guys?
Attached an xml of my test map.

dingoZero

  • Posts: 50
  • Dingovania
    • View Profile
Re: Scripting help - fire traps exploding
« Reply #1 on: June 08, 2016, 01:55:09 AM »
Make sure that the projectileshooter script isn't clipping with the wall collision.

You can achieve this by pressing 1 on the num pad (this sets the grid to the lowest level) and nudging the script the the right/left/down/up with the arrow keys.

I am 99% certain this is the problem without looking at the level.

dingoZero

  • Posts: 50
  • Dingovania
    • View Profile
Re: Scripting help - fire traps exploding
« Reply #2 on: June 08, 2016, 01:58:02 AM »
That was the problem. Here is the "corrected" version of the map.

otarono

  • Posts: 2
  • Maggot Crusher.
    • View Profile
Re: Scripting help - fire traps exploding
« Reply #3 on: June 10, 2016, 02:09:36 PM »
You are wonderful. Thanks a bunch!