- Joined
- Jul 7, 2019
- Messages
- 15
- Reaction score
- 5
- First Language
- Dutch
- Primarily Uses
- RMVXA
In Archeia's list on top of this forum I found a scriptcall to lock the camera on either the player or an event. The thread is no longer open for replies so I figured this would be the best place to ask (correct me if I'm wrong).
It's this little piece of code: $game_player.center($game_player.x, $game_player.y)
Which I get to work fine with a litteral copy, but now I want to set it to follow an event. I've tried map_event[x] (where x is ofcourse the eventnumber on the map). But I think I have the wording off for ruby. Could anyone shine a light on it for me please.
Kind regards.
It's this little piece of code: $game_player.center($game_player.x, $game_player.y)
Which I get to work fine with a litteral copy, but now I want to set it to follow an event. I've tried map_event[x] (where x is ofcourse the eventnumber on the map). But I think I have the wording off for ruby. Could anyone shine a light on it for me please.
Kind regards.


