What do you mean "whenever I try to use a script"? Do you mean a script call? If so, please show a screenshot of your event so we can see the script call.
Please also show a screenshot of the console tab so we can see the full error trace. To get this, trigger the error, hit F8 and find the Console tab.
you can use spacebar to open the part of the scriptcall or the one
you used for it.
I also know, the galv projectile doesn't fully work with altimit pixel movement
where it colide alot, unless you have modified the plugin in able to make it
full work the way you want it to be.
but you either miss something in the scriptcall or forgot to "destroy" the
projectile which is unknow how your event is setted up (not the moveroute).
another possibility is the length of the bullet or prefix is used, so there are
things stull unknown.
plugin order can also be a cause to it if they arent in the correct order,
it can also throw errors.
then show us what you did - the wrong script command is not completely visible in your screenshot.
so copy it here AND - and this is important - describe what that command is supposed to do in your own words.
that last part is important for us to learn where you might have misunderstood the help text.
I actually have multiple scripts, but they are all essentially the same just with the direction variable changed. Since they are basically identical, I'll only send one.
"Galv.PROJ.dir(5,2,3,6,'bullet0',1,'',[1],[],3.5);"
This script is meant to create a projectile that starts at the event with the event ID "5" and is moving downwards vertically (but each of the script calls in this event have a different direction.) It also has a speed of 3 and will disappear after traveling 6 tiles. The image used for the bullet is "bullet0" and it only uses 1 frame, and is therefore not animated. When hitting a player or event, no action (common event or switch change) is meant to occur. The projectile can only stop when it collides with 1 player or event, and when it does, it's meant to disappear. It can't disappear if it's only on terrain tiles. It also has a "same as character" priority.
1) your script command is incomplete, it is missing several values as defined in the plugin description.
That can easily cause the "of undefined" - it is undefined because you never entered it in the script command.
2) you have not specified any action on hit, and from what I read you are required to do so.
For example you never told it that it is to disappear on hitting the player.
and a few other problems, also these might be caused by Galv as he for example didn't describe what anim is in his plugin file.
I suggest rereading that help file and checking every option given to set it to what you need it to be instead of just copying data.
Thank you for your help! Luckily, I recently found out what was wrong. I had entered the starting event of the bullets as an invalid number accidently, I had tried to fix it before, but that didn't work so I thought that wasn't the problem. Luckily, I tried again and it worked.
Hi, I have a problem with Galv's map projectiles plugin, where I can't move after activating the plugin script, can anyone help me? (Sorry about the terrible english, isn't my first language)