Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: Shadonking on February 13, 2009, 12:20:20 pm

Title: [RESOLVED]check map id script
Post by: Shadonking on February 13, 2009, 12:20:20 pm
is it posible to make a script that can check what map id your on then use it for conditional branches to check if im on a certian map or not.
Title: Re: check map id script
Post by: Blizzard on February 13, 2009, 01:10:02 pm
Sure. You have a variable operation on bottom of the window saying "other". The just choose "Map ID" from the dropbox.

In scripts you compare "$game_map.map_id".
Title: Re: check map id script
Post by: Shadonking on February 13, 2009, 01:26:43 pm
cool, i'll try it out in a min.

thanks

edit

i dont know how i missed that variable operation thing, but it seems to work like a charm.