Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> question on encounter variables.
exkabuto
post Jul 1 2012, 09:42 PM
Post #1


Level 2
Group Icon

Group: Member
Posts: 20
Type: Developer
RM Skill: Beginner




can anyone help me how to setup encounter event?
i used a custom battle system named requiem abs 8.

well i want to make the player walk abit and then suddenly the player were transfered to anohter maps that filled with monster.
after win the battle, the player is teleport back to the maps. i only use 544x416 sized map since its a very mini rpg.
lets say real map is A and battle map is B. transfer happen after 10 step.
for my rpg, the map A is for dialogue and talk, and the Map B is for battle only.
i try use the step variable, its work when i walk on map A and teleport to map B after 10 step.
but when i win the battle on B map and wanna be teleport back to map A, an undesirable event happen.
i press F9 and see my variable is not decrease to zero.

i search google for hours but seems no clear guide to it.
if someone have time, please teach me how to event this.
thank you for reading. sleep.gif
Go to the top of the page
 
+Quote Post
   
Night_Runner
post Jul 3 2012, 05:40 AM
Post #2


Level 50
Group Icon

Group: +Gold Member
Posts: 1,520
Type: Scripter
RM Skill: Undisclosed




Could you put an event on Map B (set the Trigger to Parallel Process), which sets the variable 'number of steps' to 0?

That way, after you finish your battle on Map B and you go back to Map A, your number of steps is back to 0, so


Scratch that, you can't set your number of steps variable to 0 because you then set that variable to the number of steps you've taken, which is non-zero.

You will need an event like so:

Doctor


__________________________
K.I.S.S.
Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.

Most important guide ever: Newbie's Guide to Switches
Go to the top of the page
 
+Quote Post
   
exkabuto
post Jul 3 2012, 05:49 AM
Post #3


Level 2
Group Icon

Group: Member
Posts: 20
Type: Developer
RM Skill: Beginner




Amazing.. i almost quit from making this event due to major confusion on how to set it up. thank you soo much for helping! happy.gif
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 20th May 2013 - 08:41 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker