Recent posts

Pages1 2 3 ... 10
1
Troubleshooting / Help / Re: [XP] Sync Character Levels...
Last post by Makoto77 - June 27, 2020, 10:29:57 pm
Yes, it has been split into two lines.
If another error happens, I'll send the error message.
EDIT: Thanks a lot, the script worked.
2
Troubleshooting / Help / Re: [XP] Sync Character Levels...
Last post by KK20 - June 27, 2020, 09:21:41 pm
Would be more helpful to understand what the cause of the error is. You should always provide the error message so scripters know where to start looking to debug it.

I'm guessing it has to do with the small text area, forcing you to use two lines. In which case
$game_actors[7].level =
$game_actors[15].level

Because doing something like
$game_actors[7].level = $game_actors
[15].level
or similar is syntactically incorrect. Ruby reads and executes each line one at a time; it's not smart enough to know that the [15] is supposed to be in-front of $game_actors (because the first line is technically valid syntax).
3
Troubleshooting / Help / Re: [XP] Sync Character Levels...
Last post by Makoto77 - June 27, 2020, 07:13:49 pm
I also tried that at the same time I tried the other method, but the game crashed.
EDIT: I was mistaken, it was actor ID 7, not 9. I changed the script to reflect that (just replaced the 9 with a 7). The game crashed regardless.
4
Troubleshooting / Help / Re: [XP] Sync Character Levels...
Last post by KK20 - June 27, 2020, 07:04:21 pm
$game_actors[9].level = $game_actors[15].level

You're new to this scripting thing, huh
5
Troubleshooting / Help / Re: [XP] Sync Character Levels...
Last post by Makoto77 - June 27, 2020, 04:42:04 pm
The script doesn't seem to work. I'm using actor ID 9 as one of the base characters (there's a lot of characters), and I'm trying to copy actor ID 15's level (the transformed version of ID 9) to actor ID 9, but it sets actor ID 9's level to 15.
6
Troubleshooting / Help / Re: [XP] Sync Character Levels...
Last post by Makoto77 - June 27, 2020, 02:26:53 am
Ah.
7
Troubleshooting / Help / Re: [XP] Sync Character Levels...
Last post by KK20 - June 27, 2020, 02:02:06 am
No, it's the actor's ID in the database.
With this script call, you don't need to use game variables anymore.
8
Troubleshooting / Help / Re: [XP] Sync Character Levels...
Last post by Makoto77 - June 27, 2020, 01:51:49 am
Okay.  I assume ID refers to the actor level's variable, and TARGET_LEVEL is the level to be replaced?
9
Troubleshooting / Help / Re: [XP] Sync Character Levels...
Last post by KK20 - June 27, 2020, 01:50:13 am
It's a script call. It's the very last event command.
10
Troubleshooting / Help / Re: [XP] Sync Character Levels...
Last post by Makoto77 - June 27, 2020, 01:34:30 am
Ah, thanks. So I have to use that script?
Pages1 2 3 ... 10