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
> Simplest Event Pushing - RPG Maker, No Code Involved - Only Event Commands
Spytech75
post Jul 25 2009, 11:43 PM
Post #1



Group Icon

Group: Member
Posts: 1
Type: Artist
RM Skill: Intermediate




This is the easiest way to have your character be able to push any event around a map and it works flawlessly.

First, Check "Direction Fix" in Event Options and uncheck "Move Animation"

Second, Put these commands into the event you want to move.

CODE
@>Conditional Branch: Player is facing up
@>Set Move Route: This event
: :$>1 Step Forward
@>
: Else
@>
: Branch End
@>Conditional Branch: Player is facing down
@>Set Move Route: This event
: :$>1 Step Backward
@>
: Else
@>
: Branch End
@>Conditional Branch: Player is facing left
@>Set Move Route: This event
: :$> Move Left
@>
: Else
@>
: Branch End
@>Conditional Branch: Player is facing right
@>Set Move Route: This event
: :$> Move Right
@>
: Else
@>
: Branch End


And thats it, simple as that!

Also, thanks to mrcrisper for helping me figure this out.
Go to the top of the page
 
+Quote Post
   
obsorber
post Jul 28 2009, 04:38 AM
Post #2


Level 26
Group Icon

Group: Revolutionary
Posts: 589
Type: Writer
RM Skill: Skilled




Got an easier method. Why don't you just set it that when you press enter on the
event, that the event moves away from hero. That is even faster. Obviously you will
need put direction fix but it works just as well, maybe better even... thumbsup.gif


__________________________

The final release of Project Viral is finally here!


Eden Hall, demo released!
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: 21st May 2013 - 04:47 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker