Hi, Blizzard! Thanks for answering, man. I'd like to get instructions how to mod it. With all the scripters around, i thought it would be a simple question to answer.
I also placed a request on your forum for a script call that DEFINES both the dash speed and the normal speed on one call, wich is harder (not for you, i think...).
Oh, and you didn't answered my question there - but then again, those are different questions, i just using the same script.
What i want here is simple: I made the second script, but it doesn't work, so i wanna know WHY the script call i placed there doesn't work, and HOW i make it work. I receive an error message with the alterations i did, and i only wish to know why.
The script follows a simple call logic, but there's some code detail that must be followed for it to work. I wanted to know what must be done for it to work, that's all...
All i did on the DASH script was insert two definions on a switch, and use them for a filter inside the script. I added this:
def Speedtrue
@Speedtrue_switch = true
end
def Speedfalse
@Speedtrue_switch = false
end
Theorically, the script should accept the following filter:
if $Speedtrue.Speedtrue_switch == true
#....something happens!
else
#... other thing happen!
end
This line breaks when you run it:
"if $Speedtrue.Speedtrue_switch == true "
...gives the following error message:
'Script 'Dash', line 24: NoMethodError occcurred'
' undefined method 'Speed_true_switch' for nil:NilClass'
With the script call i placed, the character would have @move_speed=2 when i called Game_Player.Speedfalse from inside the game's script callthat doesn't happen... why?