05-29-2010, 07:33 AM
Thanks. It starts the project now, but I get another error when I want to change the size of my charset using a call script...
The call script:
$game_player.resize(2,2)
And the error says:
Wrong number of arguments (2 for 1)
and it poits to the pixelmovement script with line 1987 which is this:
self.turn_toward_event(id, false)
(it is in: def direction_to(id))
I don't know too much about scripting, but I tried this call script, too:
$game_player.resize(2)
and it gave me the same error.
Does it mean that I have problem with pixelmovement rather than the two scripts?
EDIT:
Okay I experimented a little...
I deleted the sizing script and it gave me the same error. If I put in an event and go and hiit action next to it, it gives me this error. Can you help me what would be the problem with the Light Pixelmovement script?
The call script:
$game_player.resize(2,2)
And the error says:
Wrong number of arguments (2 for 1)
and it poits to the pixelmovement script with line 1987 which is this:
self.turn_toward_event(id, false)
(it is in: def direction_to(id))
I don't know too much about scripting, but I tried this call script, too:
$game_player.resize(2)
and it gave me the same error.
Does it mean that I have problem with pixelmovement rather than the two scripts?
EDIT:
Okay I experimented a little...
I deleted the sizing script and it gave me the same error. If I put in an event and go and hiit action next to it, it gives me this error. Can you help me what would be the problem with the Light Pixelmovement script?