- Joined
- Sep 5, 2014
- Messages
- 2
- Reaction score
- 0
- First Language
- Spanish
- Primarily Uses
Hello,
I just found a script online for a Party renaming from a party list, and when I use it shows the Invalid token error, this is the script I am using:
Script: var findId = $gameParty._actors; var idLen = findId.length; var findId2 = []; for (e = 0; e < idLen; e++) {findId2[e] = findId[e];} var ee = 0; choices = []; params = []; $gameMessage.setChoices(choices, 0, -1) for (e = 0; e < idLen; e++) {choices.push(String($gameParty.members()[ee]._name)); ee++;} params.push() $gameMessage.setChoiceCallback(function(responseIndex) {SceneManager.push(Scene_Name); SceneManager.prepareNextScene(findId2[responseIndex], 8)})
Can someone help me, please? (I know very little about JS)
I just found a script online for a Party renaming from a party list, and when I use it shows the Invalid token error, this is the script I am using:
Script: var findId = $gameParty._actors; var idLen = findId.length; var findId2 = []; for (e = 0; e < idLen; e++) {findId2[e] = findId[e];} var ee = 0; choices = []; params = []; $gameMessage.setChoices(choices, 0, -1) for (e = 0; e < idLen; e++) {choices.push(String($gameParty.members()[ee]._name)); ee++;} params.push() $gameMessage.setChoiceCallback(function(responseIndex) {SceneManager.push(Scene_Name); SceneManager.prepareNextScene(findId2[responseIndex], 8)})
Can someone help me, please? (I know very little about JS)


