The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: zhein04 on April 20, 2012, 05:13:09 AM

Title: [VXACE][REQUEST] map scroll using call script
Post by: zhein04 on April 20, 2012, 05:13:09 AM
What i request for is to scroll the map using call scripts instead of creating the event like map scrolling.
Title: Re: [VXACE][REQUEST] map scroll using call script
Post by: TDS on April 21, 2012, 08:56:30 PM
Something like this should do it.

Code: [Select]
$game_map.start_scroll(direction, distance, speed)

Direction is 2 Down, 4 Left, 6 Right, 8 Up.
Distance is the distance in rectangles.
Speed is the same as the one in the command 1, 2, 3, 4, 5, 6.

Example:

Code: [Select]
$game_map.start_scroll(8, 5, 4)