Alrighty~
So I'm using Tsukihime's fantastic Choice Options script, right? Problem is, my conditions are stupid long and keep breaking the script call because of unfortunate line breaks.
For example,
It's correct according to her script, but I keep getting an unexpected bracket error.
How do I get around this? If I need to make a new method (because I'm going to be doing a lot of checking to see if actor X has learned skill Y), how do I call it and where do I put it?
I know how to define the method, I think.
If that's correct, then where would I stash it and how would I call it from a script call? I mean, I'm assuming that I could use my method within Tsukihime's method, right?
Urgh, why is the script box so small????
So I'm using Tsukihime's fantastic Choice Options script, right? Problem is, my conditions are stupid long and keep breaking the script call because of unfortunate line breaks.
For example,
disable_choice(1, $game_actors[1].skills.include?($data_skills[55]))
How do I get around this? If I need to make a new method (because I'm going to be doing a lot of checking to see if actor X has learned skill Y), how do I call it and where do I put it?
I know how to define the method, I think.
def skill_check(actor, skillID)
if
$game_actors[actor].skills.include?($data_skills[skillID])
return true
else
return false
end
if
$game_actors[actor].skills.include?($data_skills[skillID])
return true
else
return false
end
Urgh, why is the script box so small????