- 13
- Posts
- 8
- Years
- Seen Nov 11, 2019
I am one giant newb when it comes to RPG maker so forgive me but I'm trying to register a battle partner with a dependency. I basically just copy+pasted the wiki code and I get this error:
What I am attempting is just to have an NPC follow me.
Spoiler:
Exception: SyntaxError
Message: (eval):4:in `pbExecuteScript'compile error
(eval):2: syntax error
(PBTrainers::HOOPYTRAINER,"Yuujin",0)
^
(eval):4: syntax error
(@event_id,"Yuujin",14)
^
***Line '(PBTrainers::HOOPYTRAINER,"Yuujin",0)' shouldn't begin with '('. Try
putting the '(' at the end of the previous line instead,
or using Extendtext.
***Line '(@event_id,"Yuujin",14)' shouldn't begin with '('. Try
putting the '(' at the end of the previous line instead,
or using Extendtext.
***Full script:
pbRegisterPartner
(PBTrainers::HOOPYTRAINER,"Yuujin",0)
Kernel.pbAddDependency2
(@event_id,"Yuujin",14)
Interpreter:276:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:103:in `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
Scene_Map:68:in `main'
Message: (eval):4:in `pbExecuteScript'compile error
(eval):2: syntax error
(PBTrainers::HOOPYTRAINER,"Yuujin",0)
^
(eval):4: syntax error
(@event_id,"Yuujin",14)
^
***Line '(PBTrainers::HOOPYTRAINER,"Yuujin",0)' shouldn't begin with '('. Try
putting the '(' at the end of the previous line instead,
or using Extendtext.
***Line '(@event_id,"Yuujin",14)' shouldn't begin with '('. Try
putting the '(' at the end of the previous line instead,
or using Extendtext.
***Full script:
pbRegisterPartner
(PBTrainers::HOOPYTRAINER,"Yuujin",0)
Kernel.pbAddDependency2
(@event_id,"Yuujin",14)
Interpreter:276:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:103:in `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
Scene_Map:68:in `main'
What I am attempting is just to have an NPC follow me.