- Joined
- Jun 30, 2017
- Messages
- 9
- Reaction score
- 0
- First Language
- English
- Primarily Uses
- N/A
I am using RPG maker MV and the plugins that yanfly suggested and I am trying to make transformations like super sayians if I can learn this I can even do dragon transformations like breath of fire so I am trying to master this first. but anyway here is what it has
<Custom Apply Effect>
// Check if user is an actor.
if (user.isActor()) {
// Archive the previous settings.
user._prevCharName = user._prevCharName || user._characterName;
user._prevCharIndex = user._prevCharIndex || user._characterIndex;
user._prevFaceName = user._prevFaceName || user._faceName;
user._prevFaceIndex = user._prevFaceIndex || user._faceIndex;
user._prevBattlerName = user._prevBattlerName || user._battlerName;
// Check if the actor ID is 1.
if (user.actorId() === 1) {
// The filename of the character graphic without the file extension.
var charName = 'HaroldSSJ';
// The index of the character graphic used.
var charIndex = 0;
// The filename of the face graphic without the file extension.
var faceName = 'HaroldSSJ';
// The index of of the face graphic used.
var faceIndex = 0;
// The filename of the battler graphic without the file extension.
var battlerName = 'Harold_SSJ1';
}
// Changes the character image to the setting applied from above.
user.setCharacterImage(charName, charIndex);
// Changes the face image to the setting applied from above.
user.setFaceImage(faceName, faceIndex);
// Changes the battler image from the setting applied from above.
user.setBattlerImage(battlerName);
// Refreshes the user's appearance.
user.refresh();
}
</Custom Apply Effect>
I put this in my states like it said changed the items in red to the names I used but I still not getting him to change into super saiyan. I don't know what the charIndex is I can only think it's the character number that is being used. which he is the 4th member of the team. so I changed the user actor ID to 4 but everything else I changed to the the 5th actor which I was using as the transformation state it's ID is 0005 I guess just 5 I am so lost do anyone know how to do this step by step?
<Custom Apply Effect>
// Check if user is an actor.
if (user.isActor()) {
// Archive the previous settings.
user._prevCharName = user._prevCharName || user._characterName;
user._prevCharIndex = user._prevCharIndex || user._characterIndex;
user._prevFaceName = user._prevFaceName || user._faceName;
user._prevFaceIndex = user._prevFaceIndex || user._faceIndex;
user._prevBattlerName = user._prevBattlerName || user._battlerName;
// Check if the actor ID is 1.
if (user.actorId() === 1) {
// The filename of the character graphic without the file extension.
var charName = 'HaroldSSJ';
// The index of the character graphic used.
var charIndex = 0;
// The filename of the face graphic without the file extension.
var faceName = 'HaroldSSJ';
// The index of of the face graphic used.
var faceIndex = 0;
// The filename of the battler graphic without the file extension.
var battlerName = 'Harold_SSJ1';
}
// Changes the character image to the setting applied from above.
user.setCharacterImage(charName, charIndex);
// Changes the face image to the setting applied from above.
user.setFaceImage(faceName, faceIndex);
// Changes the battler image from the setting applied from above.
user.setBattlerImage(battlerName);
// Refreshes the user's appearance.
user.refresh();
}
</Custom Apply Effect>
I put this in my states like it said changed the items in red to the names I used but I still not getting him to change into super saiyan. I don't know what the charIndex is I can only think it's the character number that is being used. which he is the 4th member of the team. so I changed the user actor ID to 4 but everything else I changed to the the 5th actor which I was using as the transformation state it's ID is 0005 I guess just 5 I am so lost do anyone know how to do this step by step?





