Magic outside combat

hey
just wanted to ask if it's possible to apply the effect of a aid spell outside of combat?
like apply heal to your characters for example

not sure if this exists? I tried to find it from the code but to no avail

thx!
Go into the skill database, and check the occasion tab. Set it to "Always"
no need for anything in code, that is a simple skill effect.
just call the skill by menu outside of combat (make sure the occasion setting allows that)
Go into the skill database, and check the occasion tab. Set it to "Always"

that's nice, is it possible to invoke the magic effect via script or something? I need this for my custom battle mode healing
I don't believe so, but if you used the "Heal HP" command and messed around with variables, I'm sure you could get something.
well if the game can call skills like that the code must be somewhere in the script files
Well, you were the one who asked, so....
There could be a script call, but a quick google search yields nothing. You'd have to check it out yourself.
I take it you want to simply heal a party member outside of combat?

Go to your Healing/Aid skill, set the skill to be activated to "always". there are 4 possible settings for the skills: "always", "during battle", in the menu screen and "Never".

don't forget to actually give your character the skill to be able to use it by either adding it directly or adding it into their class.
thx for all the replies

I think
Game_Action.prototype.apply
is where all the magic happens so I'm going to make a copy of that and edit it to my needs
I think
Game_Action.prototype.apply
is where all the magic happens so I'm going to make a copy of that and edit it to my needs
If you actually bothered to tell people exactly why the normal method won't work for you instead being vague about your specific situation, you could get some help from someone who knows exactly what you need.
If you actually bothered to tell people exactly why the normal method won't work for you instead being vague about your specific situation, you could get some help from someone who knows exactly what you need.

ok I'll explain. I'm working on tactical battle system similar to shining force series where party members are on the map and you move those to attack the enemies. now i want be able to cast healing spell on party members on the map.

i have the targetting of the spell done but now I need the effect.. hp to go up
Then why can't you just use the Change HP command? If you're eventing a bunch already?
Equally as important; why event the whole battle system when there are tactics based plugins that already exist? I mean, I get it it, those plugins are janky AF, but I feel like a wholly evented version would be twice if not quadruple the jank.
Equally as important; why event the whole battle system when there are tactics based plugins that already exist? I mean, I get it it, those plugins are janky AF, but I feel like a wholly evented version would be twice if not quadruple the jank.
Honestly, I wish there was a bigger community for a certain Studio, since it's perfect for this sort of project.
Then why can't you just use the Change HP command? If you're eventing a bunch already?

because healing was just an example. I'm new to RM but i believe there can be other aid spells with their special effects
Equally as important; why event the whole battle system when there are tactics based plugins that already exist? I mean, I get it it, those plugins are janky AF, but I feel like a wholly evented version would be twice if not quadruple the jank.

I don't like using other peoples code because they come with limitations. Coding the thing my self allows me to get exactly what i want and I do like coding
I use some smaller plugins though
@Jar1 , please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.
@Jar1 , please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.

sorry about that, I misunderstood what "double posting" meant, my bad
I don't like using other peoples code because they come with limitations. Coding the thing my self allows me to get exactly what i want
This doesn't make a ton of sense to me.

If you can actually code well enough to start making any of this, you should be able to read and modify someone else's code.

Therefore, it would make more sense (and save yourself a lot of time) to start with a plugin that does some of what you want, and then modify that rather than code your own from scratch.

And even beyond plugins, as @Sword_of_Dusk mentioned there are other game-making products actually designed to make this kind of game.
If you can actually code well enough to start making any of this, you should be able to read and modify someone else's code.

if the code is well written then yes. often I encounter code that is written in form which isn't easy to edit and understand

Original thread: https://forums.rpgmakerweb.com/threads/magic-outside-combat.163066/