ok im trying to compare the char x & y & events x & y throught variables but im getting a syntax error heres what i have
(http://i184.photobucket.com/albums/x287/nathmatt/NewBitmapImage4.jpg)
Shouldn't those Yen signs be $game_variables?
And make sure that the end of each line is a syntax that will read for the script to go on to the next line which would be = and -
$game_variables[10] =
Math.hypot(($game_variables[1] -
$game_variables[9].abs)
($game_variables[2] -
$game_variables[8].abs))
Quote from: Aqua on November 21, 2008, 05:48:56 pm
Shouldn't those Yen signs be $game_variables?
nathmatt's probably using Postality Knights or a translation of RMXP that's not Enterbrain's official English version. \ turns into the Yen Symbol if I'm not mistaken...
I can't really help on this matter because of the scripting, so good luck. Aqua, I hope you're competent enough to do this. Oh of course you are. :x
i tried that still getting a syntax error heres my demo
http://www.megaupload.com/?d=A2Q9CSGZ (http://www.megaupload.com/?d=A2Q9CSGZ)
credit to whoever helps me fix it in my event system
I think you might find something about event and player coordinates here (http://forum.chaos-project.com/index.php?topic=79.0).
The solution is that the event calls need a comma. They should look something like this:
$game_variables[10] =
Math.hypot(($game_variables[1] -
$game_variables[9].abs),
($game_variables[2] -
$game_variables[8].abs))
noticed i didnt add resolved