Hello everyone,
Silly question,
How can I remove the user name from the skill using message? I'm searching through the scripts, but can't find where the message is put together.
For example "User casts fire!"
I would rather remove the user and just put "Fire" in the casting using message.
I'm open to any options, including an additional script.
Thanks everyone.
you need to modify the correct vocabs, but that will also create errors unless you modify the call for the vocab as well.
Basically the vocabs contain placeholders inside strings (usually %s for a text variable), and when they are called they are given the vocab string and a number of variables to replace the placeholders.
If you remove the placeholders from the vocab strings, then the function which prints the vocab to the screen will report an error because it'll have variables that cannot be placed - and you'll have to modify the function call as well to remove the variable arguments before the message can be printed without errors.
Since the Skills all use the same functions, remove it from there will remove the "user"-Display for all skills - selectively removing it is a lot more difficult.
The basic vocabs are in the very first script slot - you can use those examples to understand what to look for when searching for the skill vocabs, I don't know where the function for the skill display is.
Thank you. I figured there was something like that (same with Objective C, etc etc), but I didn't know where it was at. Sadly, I was afraid it's in the base script itself, and I know that may be dangerous to change.
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
So do you WANT to remove it from ALL skills? This would include the default Attack skill as well as Defend/Guard. Or only for some?
My bad. I'm now 2 for 2 on blue posts. At this rate Shaz, you'll be hitting 20k in no time. 😛
Ideally I'd like it removed from all skills, where a blank box doesn't display anything. Just wanted to see if someone knew where it was located in the scripts, or if there was already a script with custom battle messages.
Gah, so simple!
Thanks a lot Shaz. This gives me quite a bit of freedom. I think next I'll figure out how to center the text.
You da best! 🙂
Thank you so much, that resolves everything.
I had some general ideas on centering, but I'm still very new to Ruby and where everything is in the script. Better then I was last year, but still, I don't think I would of been able to figure that last part out.
That resolves everything. Thank you so much 🙂
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.