Then just make sure you set your Chosen Song variable back to 0 whether the door opens or not, I forgot to put that in the screenshot but it'd be pretty important. RPG Maker VX LordZhouYu 10 years ago 1 Taking note that I do not know RGSS2, I'm running KGC's Large Party script, but upon closing the party change menu, I want to call a couple of common events. Theres always other ways to accomplish this kind of thing, that's the great thing about RPG maker. You can do this with a self switch on each door so you dont clog your database too much. On the door event you put it to Parallel, so it's constantly checking if both the Region ID of the player match and the variable of the song match, the door 'opens'. And there are Common Events with out any Trigger. Like, say you choose the first song in the list, you set variable to 1, for example. There are Paralell Common Events: They run on every Map if Activated. The plugin is designed to 'trigger' common events. You have probably seen the relevant tab within the RPG Maker VXAce (RMVXA) Database already and are probably. In response to a request, the plugin has been updated to support trigger common events during battle. And now the door might disappear or open to. This chapter is going to cover common events. Select the item to use it, and watch the door respond to your trigger. You can configure this to a different button if necessary. By default, the script assigns the Y button to open the key-item menu, which is the S key on your keyboard. Now when the player selects a song, your common event sets a variable - this will be essentially a 'password' that tells the door whether to open or not. Now we can go into the game and test our key item trigger. Set an event to parallel with those 3 commands (control variables for X and Y, get location info for Region ID) to constantly update the variables with the player's position. You will get a 3rd variable with the region ID of wherever the player is standing. Set designation with variables to whatever variables you set the X and Y coordinates to. Then you use the command Get Location Info (page 3 under Map) to store the region ID. You need variables that track the player's X and Y coordinates. Besides, I want the player to use the instrument from the inventory, it would feel more satisfying that way. Until now I always just made it part of the door event but when I want to change SE of the songs later I would have to change ALL of the doors so that does not sound smart. And I can't think of a way to make it work! I think hime made a script that almost does what I want but it only checks if you use the key item.Ĭan I make this work without the common event becoming ginormous with conditional branches? Can I somehow use region ID's to make this smoother? Like it checks if the player and the door are in the same region and it only unlocks that door and not the other 3 doors in the same map that use the same song to open? So far so good.īut now I want it to open up doors if you play the correct song in front of it. When you use it from the menu it calls a common event that lets you choose a song to play. Basically I created a key item that's an instrument.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |