[RESOLVED]check map id script

Started by Shadonking, February 13, 2009, 12:20:20 pm

Previous topic - Next topic

Shadonking

February 13, 2009, 12:20:20 pm Last Edit: February 13, 2009, 03:34:34 pm by Shadonking
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.





Creator Of Music And Games
Spoiler: ShowHide
]

keywords: ShowHide
rmxp rmvx blizz-abs rpg maker xp vx abs cbs cms script tons of addons charsets autotiles HUD


come here if you have a ps3
http://forum.chaos-project.com/index.php?topic=1952.0

Blizzard

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".
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Shadonking

February 13, 2009, 01:26:43 pm #2 Last Edit: February 13, 2009, 03:33:50 pm by Shadonking
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.





Creator Of Music And Games
Spoiler: ShowHide
]

keywords: ShowHide
rmxp rmvx blizz-abs rpg maker xp vx abs cbs cms script tons of addons charsets autotiles HUD


come here if you have a ps3
http://forum.chaos-project.com/index.php?topic=1952.0