FranklinX 37 Report post Posted May 16, 2011 HI everyone! I need to learn how to make key system. I have a map with a locked door. The player needs to find 3 keys to unlock the door. How do I make this event? Thanks Share this post Link to post Share on other sites
0 CrimsonInferno 35 Report post Posted May 16, 2011 (edited) You set up an even to make it so where "three" keys are required in order for the door to be unlocked. If you want, I can set up an example project :) EDIT: Assuming this is for VX, you need to make a new Variable and call it "Key" or "3 Keys" or whatever you want. This is how I do it, seems neater to me. With your new variable make your events where the player finally gets the keys, so three separate events in your case. Within the events, select the "CHANGE ITEMS" command and give a key once per event. You also need to add the variable you created, "Key" to the end of each event "+1" for each key. So an event should look like this: And then the door to check for "3" keys: Hope that helps! If not, just say so and I'll get into better detail :) Edited May 16, 2011 by CrimsonInferno Share this post Link to post Share on other sites
0 Dragon324 16 Report post Posted May 16, 2011 (edited) This shouldn't be to hard I never used vx but if its like xp like it should be it wont be hard. Key 1,2,3 are items that have basically no use. For the door just do: Conditional Branch Player Item Has: Key 1 -Conditional Branch Player Item Has: Key 2 --Conditional Branch Player Item Has : Key 3 ---Control Switch: Door Open For else cases just put a message telling the player they dont have all the keys or something. (I dont know how fancy your doing your doors but if you use move route you can have a little animation with the door opening) Page 2 Set control switch door open to be activated then just have the open door image. For keys just put Add Item Key 1,2,3 for each different one Then have a self switch after that for each key. Then ofc a second blank page. That should do it. Note the variable thing would work 2. Just showing a different way. Edited May 16, 2011 by Dragon324 Share this post Link to post Share on other sites
0 Ragnyrok 3 Report post Posted May 17, 2011 (edited) And then the door to check for "3" keys: You can just have the 1st event page blank and set the 2nd event page's conditions to if the Key variable is 3 or above, also. Edited May 17, 2011 by Materia Share this post Link to post Share on other sites
0 FranklinX 37 Report post Posted May 17, 2011 Thanks for the help everyone! Share this post Link to post Share on other sites
HI everyone! I need to learn how to make key system. I have a map with a locked door. The player needs to find 3 keys to unlock the door. How do I make this event?
Thanks
Share this post
Link to post
Share on other sites