Is it possible to add/remove traits with this
RPG Maker MV / MZ Script Call List
● ARCHIVED · READ-ONLY
-
-
no, that requires a full plugin for dynamic traits (those exist), because by default the traits are static and read only so any change will be lost on saving and loadingIs it possible to add/remove traits with this
-
ah. thanks for the info!no, that requires a full plugin for dynamic traits (those exist), because by default the traits are static and read only so any change will be lost on saving and loading
-
Is there script call for "seal skill"? The only thing I found was adding/forgetting skills, but not sealing them.
-
Sealing skills is done via the Seal Skill trait. You can add/remove that trait mid-playthrough by adding/removing an object with that trait, e.g. a state or equippable item.Is there script call for "seal skill"?
By default states are all automatically removed on death. If you want something more permanent without resorting to workarounds like an extra equip slot, then you'll need a plugin, e.g. something for "persistent states", "passive states", or "dynamic traits". -
I want to have skill, that is usable only after certain state is applied. So you can see this skill during battle, but use only after certain state is applied. I wanted to make it through sealing skill via troop commands, and then unsealing it with SkillStates On Apply notetag with "Seal Skill off" or something. Seems like I can't thoSealing skills is done via the Seal Skill trait. You can add/remove that trait mid-playthrough by adding/removing an object with that trait, e.g. a state or equippable item.
By default states are all automatically removed on death. If you want something more permanent without resorting to workarounds like an extra equip slot, then you'll need a plugin, e.g. something for "persistent states", "passive states", or "dynamic traits". -
Youre already using visustella skills aren't you? Use the skill enable note tag and have the conditional be having the stateSo you can see this skill during battle, but use only after certain state is applied
-
How do I put conditionals in notetags? Maybe a silly question, but it will be handy for me later.Youre already using visustella skills aren't you? Use the skill enable note tag and have the conditional be having the state
-
that completely depends on the notetag itself, which means you have to check the instructions of the plugin the notetag is for.How do I put conditionals in notetags? Maybe a silly question, but it will be handy for me later.
-
Ok nvm I did what I wanted. (I wanted to enable/disable skill, so doing
<Enable Switch: X> was a right way to do it) -
You said you wanted the state to enable it before. You changed it to a switch?Ok nvm I did what I wanted. (I wanted to enable/disable skill, so doing
<Enable Switch: X> was a right way to do it) -
Yeah, but then they told me about "skill enable" notetags, so I took a look at SkillStates page, and found that enable switch notetag.You said you wanted the state to enable it before. You changed it to a switch?
-
It's been 9 years, but this is so helpful. I was just coming to the forum to ask about how variables are called, but now I have a list with everything I needed. You're a saint OP
-
How do I get the value of the skill hit type drop down?
-
@AquaEcho - if you have an Item/Skill database record, e.g.
const item = $dataSkills[123], then it'sitem.hitType. This will be0(Certain),1(Physical), or2(Magical).
Alternatively, if you have a reference to anaction, you can check its hit type using:
action.isCertainHit()action.isPhysical()action.isMagical()
-
Thanks, it's for a ChronoEngine feature to do different things based on physical or magic skill type so I'll have to experiment to see how it's using that value.
-
I found a typo:
https://docs.google.com/spreadsheets/d/1-Oa0cRGpjC8L5JO8vdMwOaYMKO75dtfKDOetnvh7OHs/edit#gid=1836221293&range=B29
There is an extra ;
Should be:
Code:// Save $gameVariables.setValue(id, $gameParty.members().map(function(actor) { return actor.actorId(); }) ); // Restore $gameVariables.value(id).forEach(function(actorId) { $gameParty.addActor(actorId); });
Edit: I put the link in code to prevent it automatically embedding. -
@Tapwater42 - thanks, corrected!
Note that those sheets are actually just leftover rough drafts from the revamp of the main sheet ("Script Calls") back in 2021. The main sheet should include everything from the individual ones. :kaohi: -
How did I never cross this magnificent work :o
This will be veeeery helpfull for sure! :kaoluv: -
This is very helpful, thank you so much for sharing! :LZSproud: