Gixxas

Villager
Member
Joined
Feb 28, 2014
Messages
6
Reaction score
0
First Language
English
Primarily Uses
I'm apprehensive to mess around with the script as my many other attempts to do so have turned out... unfortunate to say the least. First question, how do I input scripts? Specifically I'm trying to input one of Yanfly's message scripts, if that's worth mentioning. My second question is when a skill is used, how can I make it so it hits & deals damage to an enemy and also debuff's or buff's the user.

Yes I'm a noob, shut up.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
34,328
Reaction score
8,755
First Language
German
Primarily Uses
RMMV
1) you open the script editor, insert a new script slot below materials and above main, and copy/paste the script there. Don't forget to name the new script slot, that name is used in error messages and you will never get your game bugfree without being able to identify scripts


2) you can place the commands into the skills' damage formula.


Target the skill on the enemy for damage, but before the damage number of the formula place a a.add_state(id);damage...


(I haven't checked for exact syntax, search the forum for "damage formula" to find the topic where a lot of those commands are described.


3) If you're new, I suggest you follow the link in my signature
 

Gixxas

Villager
Member
Joined
Feb 28, 2014
Messages
6
Reaction score
0
First Language
English
Primarily Uses
I think I understand, I'll give it a try, thanks. Not that I am actually new, but I'll still check the link out to refresh my memory. A lot of planning and no executing for a year doesn't keep the brain fresh.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,169
Reaction score
15,542
First Language
English
Primarily Uses
RMMV
Also, best to ask unrelated questions in separate threads. We have a forum JUST for script help, and another for help with non-script stuff. Each of your questions belongs in a different forum. Just helps us keep things organized, and ensures threads don't get closed when only half of your questions have been answered :)
 

Gixxas

Villager
Member
Joined
Feb 28, 2014
Messages
6
Reaction score
0
First Language
English
Primarily Uses
My bad Shaz, I was having trouble figuring out how to even create a new topic. I'll make sure to do it in the future, thanks for the heads up.
 

Latest Threads

Latest Posts

Latest Profile Posts

Nightmare... Dreamt I posted a GFX resource post. With a work in progress glove icon that tinted to different colors. In the wrong forum. And I was in such a panic. I saw people writing posts in response, those "..." you see in discord and such. So I frantically tried to report my post as wrong forum, editing to say it's the wrong forum and that I "accidentally" posted it too early... Very odd dream to be honest...
The youngest photo of you is also the oldest photo of you.
People need to stop submitting their game to every single game jam without even reading the jam rules (╯°□°)╯︵ ┻━┻
Mom tested positive for COVID thanks to a single stupid coworker of hers not taking sh*t serious.
I'll prolly won't be on here for a while as we deal with this.
So before I inevitably start a new project to reorganize myself (I will make sure to save important info dw), I will make an external list of what I want in the final database.

Forum statistics

Threads
117,195
Messages
1,105,383
Members
153,332
Latest member
diorpancakes
Top