Hammerwatch Forum

Custom mapping and Mods => Editor Discussion => Topic started by: otarono on June 07, 2016, 02:19:43 PM

Title: Scripting help - fire traps exploding
Post by: otarono 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 (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.
Title: Re: Scripting help - fire traps exploding
Post by: dingoZero 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.
Title: Re: Scripting help - fire traps exploding
Post by: dingoZero on June 08, 2016, 01:58:02 AM
That was the problem. Here is the "corrected" version of the map.
Title: Re: Scripting help - fire traps exploding
Post by: otarono on June 10, 2016, 02:09:36 PM
You are wonderful. Thanks a bunch!