Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [Unsupported] MapSwitch! XP
#1
MapSwitch XP
Version: 1

Introduction
Introducing MapSwitch! This script will activate switches automatically on entering specified maps. It also deactivates when leaving specified maps.

Features
  • Activates a particular switch when entering specified maps. Also deactivates switches when entering a map not specified.
Screenshots

Demo
No demo link available.

Script
MapSwitch XP

Instructions

I hope that I worded them correctly. Hopefully the instructions are easy to follow.
  • Lines 26 - 31 are about the constants "PUNK_MAP_IDS" and "PUNK_MAP_SWITCH_IDS"
  • Lines 33 - 52 are about adding another set of constants in case one may just not be enough.
Paste the Mapswitch XP script above main.

FAQ
Awaiting question.

Compatibility & Aliases
I have not checked the SDK. I think it's highly likely to be compatible.

Aliases
  • main
  • transfer_player
Credits and Thanks
Syvkal & Digi: for talking about $game_map.map_id. When they first spoke of it, I was confused.
Syvkal & Kurisu: Explaining Aliases.
Mac/Chrono Cry: Helping out.
Trickster: Pointing out better ways to code it (code cleaning). I also learned Constants from him.

Author's Notes
When I was working on an event system, an idea just *pop* came into my head. Of course there were evented ways to track down a players map ID and (de)activate switches depending on what map s/he's in but... that takes too much time and I don't want to event something like that for an event system I was working on.

As you can probably see, I spent a little more time decorating and typing the instructions than making this short script. This is the first time I did a script "storyboard". This is my first script/resource of my fourth year being in the RPG Maker community. This is the first time I've learned and made use of aliases, arrays and constants.

Terms and Conditions
Please credit Punk. Please! In my three years in the RM community, I have not seen my handle in any credits. *goes down on his knees and begs* This would mean a lot. Thanks for using this script!
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   [Unsupported] PK8's Self Variables XP PK8 4 9,265 03-08-2012, 01:54 PM
Last Post: LilyKnight
   [Unsupported] Title Skip 2 XP PK8 3 8,327 02-17-2010, 12:01 PM
Last Post: Villain
   [Unsupported] Actor & Party's Self Switches XP PK8 3 7,737 09-17-2009, 01:46 AM
Last Post: Yin
   [Unsupported] Actor & Party's Self Switches VX PK8 0 4,529 09-16-2009, 10:57 PM
Last Post: PK8
   [Unsupported] PK8's Self Variables VX PK8 1 5,481 09-16-2009, 10:20 AM
Last Post: Kain Nobel
   [Unsupported] Game Strings (Streamline dialogue!) PK8 3 8,207 09-15-2009, 11:28 PM
Last Post: Wyatt
   [Unsupported] Title Skip 1 PK8 2 6,250 09-15-2009, 10:44 PM
Last Post: DerVVulfman
   MapSwitch 2 for RPG Maker XP [Exclusive] PK8 0 4,243 07-03-2009, 03:33 PM
Last Post: PK8
   MapSwitch 2 for RPG Maker VX [Exclusive] PK8 0 4,182 07-03-2009, 03:00 PM
Last Post: PK8
   [Unsupported] Force Save Before New Game PK8 0 4,307 12-07-2008, 04:44 PM
Last Post: PK8



Users browsing this thread: