Hello! so ive been following a tutorial recently and its been going swimmingly but it doesnt adress this problem: if you do it as intended and walk inside the door when it sets [0001] to 2 it sends you to a room that sets variable [0001] to 3 then its perfect since when you walk out the guy is gone but if you dont listen and exit the map when the variable is set to 2 you come back and the guy is back blocking it but the variable hasnt changed so the guy still thinks hes already moved. i would appreciate feedback on this matter thanks!
VXAce Need help with making a door-blocking event.
RPG Maker VXAce Supportwhat is page 2?
also, instead of seperate them, put the even inside the else handler.
so you don't need constant
if (condition)
true
else
empty....
end
use it like:
if (condition)
true....
else
if (condition)
true...
else
if condition
true
end
end
end
and you done, separate can work, but it also check each condtion
which automaticall fail and stops it, so this may cause the event to return.
I also, if the condition is true and the NPC is moved, put a selfswitch ON
you use the text where you have you may pass on page 2.
you can also do > 1 so the NPC will move again, which is personal approach.
rarely used, but it can be that way if the same actor is talking or has an item 🙂
also, instead of seperate them, put the even inside the else handler.
so you don't need constant
if (condition)
true
else
empty....
end
use it like:
if (condition)
true....
else
if (condition)
true...
else
if condition
true
end
end
end
and you done, separate can work, but it also check each condtion
which automaticall fail and stops it, so this may cause the event to return.
I also, if the condition is true and the NPC is moved, put a selfswitch ON
you use the text where you have you may pass on page 2.
you can also do > 1 so the NPC will move again, which is personal approach.
rarely used, but it can be that way if the same actor is talking or has an item 🙂
Page 2 is a simple switch for making it invisible when you walk out of the place
If the player leaves the map after getting permission instead of going to the room, you can set the variable to 3 (in the leaving map event) just like when you're transferring them into the room. Have a conditional branch that if variable is 2 (they got the permission), set it to 3, otherwise do nothing.
Gosh, I feel stupid. Thanks a lot, though; that solves it very easily, and it will certainly help when I'm going on to build actual games.
You're learning, it's normal to not know everything
I've been at it for ages, learned things and forgot them again, and also sometimes ask silly questions. We're here to help each other 👍
I've been at it for ages, learned things and forgot them again, and also sometimes ask silly questions. We're here to help each other 👍Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-making-a-door-blocking-event.181517/