Okay, I know this is a very basic problem: In my RMXP game I use the XAS Hero script as battle system but now I would like to "eharper256's Dynamic Time System" as a time system. I can not simply paste both scripts in the script editor as this creates errors like:
Script 'MOG - Scroll Panorama' line 106:NoMethodError occured.
undefined method '-' for nil:NilClass
My knowledge of scripting is very low so I probably did something stupid. Line 106 in the error refers to: "@pan_ox -= $game_variables[MOG::VARPANO_X]" I'm sure however this is not the only place in the scripts that causes trouble. I think lots of people use scripts like these together so I'm hopeful my problem can be solved and that I will learn what to do if I find other interesting scripts!
PS
I asked this question a while ago in the eharper256's Dynamic Time System topic.
DraycosGoldaryn then answered:
"Find, in the script (under the MOG class or module), where it defines VARPANO_X (for example VARPANO_X = [some number]) and change it to a different number. This is the id of an in-game variable and apparently, the one it is using is also being used by this system. So I suggest changing it to a different variable id, one that is not used by this time system. Also any other ones that might be the same, for example, if there is a VARPANO_X then there is probably also a VARPANO_Y and if so, this should probably need to be changed also."
I did find VARPANO, but was not able to solve the problem...
Script 'MOG - Scroll Panorama' line 106:NoMethodError occured.
undefined method '-' for nil:NilClass
My knowledge of scripting is very low so I probably did something stupid. Line 106 in the error refers to: "@pan_ox -= $game_variables[MOG::VARPANO_X]" I'm sure however this is not the only place in the scripts that causes trouble. I think lots of people use scripts like these together so I'm hopeful my problem can be solved and that I will learn what to do if I find other interesting scripts!
PS
I asked this question a while ago in the eharper256's Dynamic Time System topic.
DraycosGoldaryn then answered:
"Find, in the script (under the MOG class or module), where it defines VARPANO_X (for example VARPANO_X = [some number]) and change it to a different number. This is the id of an in-game variable and apparently, the one it is using is also being used by this system. So I suggest changing it to a different variable id, one that is not used by this time system. Also any other ones that might be the same, for example, if there is a VARPANO_X then there is probably also a VARPANO_Y and if so, this should probably need to be changed also."
I did find VARPANO, but was not able to solve the problem...