- Joined
- Mar 31, 2016
- Messages
- 41
- Reaction score
- 4
- First Language
- English
- Primarily Uses
So I'm having trouble fiddling with a specific plugin, but this is just a scripting question. I'm happy to give you all the details of my plugin usage if you think that will be helpful, just let me know.
So I have a space for an argument between [ ]. It takes arguments like the following: ["Brown",-27,-0.5,0.8]
There's a set amount of these arguments that can be inputted. I'm using actor names to store one of them as a string. So if Actor 13's name is the following: "Brown",-27,-0.5,0.8
When I go to retrieve it for the argument I do something like: [$gameActors.actor(13).name()]
This doesn't give me the desired result though. The result is like I inputted the default value, which isn't the case.
Sorry if this question seems ill-put or badly worded. I'm still learning when it comes to coding with Rpgmaker mv. I'm glancing over a lot of context to try and illustrate the heart of the problem I'm having with a script call. This would be a very long post if you wanted to know the full code and it's origin. That being said the plugin I'm using is called Character Creator Ex by SumRndmDde.
The full script call is this
So I have a space for an argument between [ ]. It takes arguments like the following: ["Brown",-27,-0.5,0.8]
There's a set amount of these arguments that can be inputted. I'm using actor names to store one of them as a string. So if Actor 13's name is the following: "Brown",-27,-0.5,0.8
When I go to retrieve it for the argument I do something like: [$gameActors.actor(13).name()]
This doesn't give me the desired result though. The result is like I inputted the default value, which isn't the case.
Sorry if this question seems ill-put or badly worded. I'm still learning when it comes to coding with Rpgmaker mv. I'm glancing over a lot of context to try and illustrate the heart of the problem I'm having with a script call. This would be a very long post if you wanted to know the full code and it's origin. That being said the plugin I'm using is called Character Creator Ex by SumRndmDde.
The full script call is this
Code:
var id = 2;
$gameCharacterCreations.addInfos(id, {"B1 Crib Rear":{"path":"img/SumRndmDde/character-creator-ex/B1 Crib Rear/walk/","file":"B1 Crib Rear (1)","color":[0]},"B1 Body":{"path":"img/SumRndmDde/character-creator-ex/B1 Body/walk/","file":"B1 Body (0)","color":[$gameActors.actor(10).name()]},"B1 Eyes1":{"path":"img/SumRndmDde/character-creator-ex/B1 Eyes1/walk/","file":"B1 Eyes1 (0)","color":[0]},"B1 Eyes2":{"path":"img/SumRndmDde/character-creator-ex/B1 Eyes2/walk/","file":"B1 Eyes2 (0)","color":[$gameActors.actor(11).name()]},"B1 Hair":{"path":"img/SumRndmDde/character-creator-ex/B1 Hair/walk/","file":"B1 Hair (0)","color":[$gameActors.actor(12).name()]},"B1 Drapes":{"path":"img/SumRndmDde/character-creator-ex/B1 Drapes/walk/","file":"B1 Drapes (0)","color":[0]}},
{"B1 Crib Rear":{"path":"img/SumRndmDde/character-creator-ex/B1 Crib Rear/dead/","file":"B1 Crib Rear (0)","color":[0]},"B1 Body":{"path":"img/SumRndmDde/character-creator-ex/B1 Body/dead/","file":"B1 Body (0)","color":[$gameActors.actor(10).name()]},"B1 Eyes1":{"path":"img/SumRndmDde/character-creator-ex/B1 Eyes1/dead/","file":"B1 Eyes1 (0)","color":[0]},"B1 Eyes2":{"path":"img/SumRndmDde/character-creator-ex/B1 Eyes2/dead/","file":"B1 Eyes2 (0)","color":[$gameActors.actor(11).name()]},"B1 Hair":{"path":"img/SumRndmDde/character-creator-ex/B1 Hair/dead/","file":"B1 Hair (0)","color":[$gameActors.actor(12).name()]},"B1 Drapes":{"path":"img/SumRndmDde/character-creator-ex/B1 Drapes/dead/","file":"B1 Drapes (0)","color":[0]}},
{"B1 Crib Rear":{"path":"img/SumRndmDde/character-creator-ex/B1 Crib Rear/sv/","file":"B1 Crib Rear (0)","color":[0]},"B1 Body":{"path":"img/SumRndmDde/character-creator-ex/B1 Body/sv/","file":"B1 Body (0)","color":[$gameActors.actor(10).name()]},"B1 Eyes1":{"path":"img/SumRndmDde/character-creator-ex/B1 Eyes1/sv/","file":"B1 Eyes1 (0)","color":[0]},"B1 Eyes2":{"path":"img/SumRndmDde/character-creator-ex/B1 Eyes2/sv/","file":"B1 Eyes2 (0)","color":[$gameActors.actor(11).name()]},"B1 Hair":{"path":"img/SumRndmDde/character-creator-ex/B1 Hair/sv/","file":"B1 Hair (0)","color":[$gameActors.actor(12).name()]},"B1 Drapes":{"path":"img/SumRndmDde/character-creator-ex/B1 Drapes/sv/","file":"B1 Drapes (0)","color":[0]}},
{"B1 Crib Rear":{"path":"img/SumRndmDde/character-creator-ex/B1 Crib Rear/face/","file":"B1 Crib Rear (0)","color":[0]},"B1 Body":{"path":"img/SumRndmDde/character-creator-ex/B1 Body/face/","file":"B1 Body (0)","color":[$gameActors.actor(10).name()]},"B1 Eyes1":{"path":"img/SumRndmDde/character-creator-ex/B1 Eyes1/face/","file":"B1 Eyes1 (0)","color":[0]},"B1 Eyes2":{"path":"img/SumRndmDde/character-creator-ex/B1 Eyes2/face/","file":"B1 Eyes2 (0)","color":[$gameActors.actor(11).name()]},"B1 Hair":{"path":"img/SumRndmDde/character-creator-ex/B1 Hair/face/","file":"B1 Hair (0)","color":[$gameActors.actor(12).name()]},"B1 Drapes":{"path":"img/SumRndmDde/character-creator-ex/B1 Drapes/face/","file":"B1 Drapes (0)","color":[0]}});


