Need help on where to place this snippet

(VX Ace)

First off I hope this is the right thread, I wasn't sure where something like this would go.

http://www.rpgmakercentral.com/topic/15367-remove-user-name-casts-message-when-using-skills/

I needed this sort of script for my game, so I found the thread I linked above and tried the script that BlueTyphlosion posted. But like Onikuma on there, I use the Yanfly engine, so it conflicted and is making animations play twice. Tsukihime on there posted a fix, but didn't make any indication of where to place it. I tried using it in my game and it didn't fix the problem. I tried above BlueTyphlosion's script, below BlueTyphlosion's script, above the Yanfly battle engine, nothing seems to work. Or am I supposed to place it inside BlueTyphlosion's script? I don't know because I know next to nothing about scripting. I feel stupid because it worked for Onikuma and they didn't even need instruction on where to place it, like it's obvious or something and I'm just blind.
Moved to: Script Support
Tech-support is for getting the editors to run
Try commenting out line 3106 show_animation([target], item.animation_id) if separate_ani?(target, item)
in yanfly's battle script

I use to have the same issue with using victor sant actor batters script.

*EDIT - So I just read that post. Are you referring to Tsukihime's post?
Make it a new script just below the other script by BlueTyphlosion.
^That's what I said I did. I put Tsukihime's script under BlueTyphlosion's, and it didn't fix the problem.
Then that is odd, if it worked for one but not you. Can you try the Yanfly Battle script edit?
The first one (BlueTyphlosion's) is an overwrite method, so first try to put it below all other custom scripts.
If something goes wrong here, you will need to search for the same method in the same class (with CTRL+SHIFT+F). If you found some custom scripts altering the same method, put it above those scripts if the altered methods are aliases. If they are not aliases, you will need to mix the methods in a new script and place it below all scripts overwriting the same method (this is what we call "making a patch" usually).

The second one (Tsukihime's) must go below all of your custom scripts. It is a pretty harmless alias, so that one shouldn't cause any issues.
Sorry, I've been too busy to respond to this.

@Sixth, I have no idea how to check for that. Can you explain? I'm sorry.

An alternative to this script that would work for my project is if I could choose if I want the spell to say the name of the user at the front. In this case, I don't want it to say [name] x. Are there any scripts that omit the name when specified with a note tag? For most spells I do want it to do the default but for certain spells (the reason I wanted to use this script) I don't want it to say the name. I tried looking and never found one.
Have you tried just putting Tsukihime's script in without BlueTyphlosion's script?
Sounds like BlueTyphlosion's script is causing problems with Yanfly's scripts not Tsukihime's script.

It could probably be put almost anywhere as long as it's below Yanfly's scripts.
@Roninator2 But why would I do that? There is no issue to fix with Yanfly's script. The problem is that BlueTyphlosion's conflicts with Yanfly's which causes a bug where the battle animations play twice, which it does not normally do, and Tsukihime's is supposed to prevent that when using both BlueTyphlosion's script and the Yanfly battle engine. If I put in Tsukihime's by itself, it wouldn't be fixing anything, so how can I tell if it's working or not?
@HopeFragment You sound like you're being rude. It was a suggestion to try. I did not see from the other thread that BlueTyphlosion's script was the answer, instead it sounded like Tsukihime's script was all you needed. Hence the suggestion.

But you have also not stated if you tried my old suggestion.
commenting out line 3106 show_animation([target], item.animation_id) if separate_ani?(target, item)
on yanfly's battle script.
Just put a # in front and test it. I'm not asking much here. Not every answer involves a massively complex script.
This is the same thing I have done with my Yanfly battle script so I know it worked for me, why not you.
But I also use Victor Sant Animated battlers. So if you get no animations by commenting out the line then that's not the answer.
Just let us know and everyone can try to provide other advice.
@Roninator2 I'm sorry, I didn't realize how rudely I worded that. I was just really frustrated, sorry. I shouldn't have taken it out in my post.

I just tried that, and it actually seems to work... in fact, I really like how it speeds up the animations when moves are multitarget, no longer waiting for the animation to finish to repeat again on the next target. It fixes the compatibility problem and a problem I didn't even know I had. Thank you! And again, I'm sorry.

EDIT: I just noticed, it brings in a new problem... now, with that line commented out, the Yanfly Cast Animations don't work. I use that script too. I wouldn't be surprised if you didn't want to help me with that though since I was a jerk before.
@HopeFragment I will have to test that in my game. I don't think I have cast animations setup yet so I never noticed a problem. Try taking that line "show_animation([target], item.animation_id) if separate_ani?(target, item)" and put it just above line 199 in cast animations.
The script may complain, but basically you need to tell this script to play animation. If all else fails you may have to remove the script. I've done no less for other features in my game.
Or you can comment out line "show_animation(targets, item.animation_id)" in BlueTyphlosion's script
but then put back Yanfly's animation.
@Roninator2 It isn't working, the cast animations still won't return,
unless I'm following your instructions wrong and don't know it. (No idea what I'm doing whenever it comes to me editing scripts.)

The first suggestion you gave me made animations repeat twice and cast animations didn't play, and for the second, no animations played at all. I probably did something wrong.

I don't want to get rid of cast animations though, it's such a small thing but adds a lot to the game. It's not the same without them.
I'm not able to get cast animations to work either. I put back all the animation settings and it still didn't work. But I use Victor Sant animated battlers and actor battlers so I'm pretty sure there's some incompatibility. I removed the cast animations script.

Someone else will have to help.
Do the animations play if everything is put back to normal?

The only part I'm not sure you did is putting everything back to normal then comment out line "show_animation(targets, item.animation_id)" in BlueTyphlosion's script.

Other than that I don't have anything to offer.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-on-where-to-place-this-snippet.77098/