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
> Event walks to location?
sasofrass
post Dec 29 2010, 07:00 PM
Post #1


I can event anything.
Group Icon

Group: Revolutionary
Posts: 254
Type: Event Designer
RM Skill: Masterful




How would you make it so you can have an event walk around but when you want to have it walk to a specified location?



__________________________
Eventing Tutorials (updated Mar-5-2011)

Easy Eventing Tutorial Submissions - All done by me!
1.] Easy Money Banking System (May-16-2010)
2.] Easy Random Lightening System (Jul-31-2010)
3.] Mining System with Events (Aug-1-2010)
4.] Easy Item Looting (Aug-8-2010)
5.] Locks (Aug-8-2010)
6.] Event Movement to Location (Jan-2-2011)
7.] Evented Locations (Feb-21-2011)
8.] Slippery Floors (Mar-5-2011)
Go to the top of the page
 
+Quote Post
   
Ale Goth
post Dec 29 2010, 11:04 PM
Post #2


Darkness Is But A Good Thing. Use It wisely.
Group Icon

Group: Revolutionary
Posts: 138
Type: Writer
RM Skill: Advanced




That is impossible...but, I have a complicated way of doing it. And i'll tell you anyway. Whatever gets the job done.

Ex: (Why it won't work?)
Event_001 is a male. He walks randomly around the bar. Now that is made with the the "Autonomous Movement" on the bottom left of the event when editing it. You have the random movement set aside. Now for the movement to specific location...lets see, looks through the move commands. Nope nothing to go towards a specific x,y coordinate. It's not going to happen that way.

Ex2: (Why it will work?)
Event_045 is a male. He walks around his house randomly. Now you repeat the autonomous movement and...anyway yeah thats done. Now for the movement to specific location...lets see, oh look! Move toward player command. But wait? What if I dont want them to move towards me. Well...here is the complicated part. And pertains to a lot of mishap leading to crap. Like I said, i'll tell anyway.

Note: This will only work for cutscenes/where the player isn't able to move during this.
1.Have an invisible event with 2 pages.
2.1st page is blank, second page will have your players graphic.
3.2nd page will have a switch called Move_set
4.What the crap...I, will have to give you the demo instead of these steps..

sleep.gif
Look it over, and I will explain anything you need to know if its too confusing.
When you look at it youll see that he walks through the desk...I sem to discovered the stupidy of move toward player as he walk into the desk and stopped moving.
Demo Here<<<
I really have no clue why I tried to solve this. But, if you like it. Then yay biggrin.gif Enjoy.


__________________________
COMPLICATED is my middle name!
~I am formerly known as Hatredlust. My new name Is Ale Goth :)
Long live the...!


Go to the top of the page
 
+Quote Post
   
sasofrass
post Dec 30 2010, 02:24 AM
Post #3


I can event anything.
Group Icon

Group: Revolutionary
Posts: 254
Type: Event Designer
RM Skill: Masterful




QUOTE (Ale Goth @ Dec 30 2010, 02:04 AM) *
That is impossible


Indeed it is not. tongue.gif

I have figured out how to make them walk with a lot of variable locations and conditional branches. It is quite a bit of work just to get an event to move to a certain location.. >_>

I was hoping there is an easier way, even with scripts maybe.


__________________________
Eventing Tutorials (updated Mar-5-2011)

Easy Eventing Tutorial Submissions - All done by me!
1.] Easy Money Banking System (May-16-2010)
2.] Easy Random Lightening System (Jul-31-2010)
3.] Mining System with Events (Aug-1-2010)
4.] Easy Item Looting (Aug-8-2010)
5.] Locks (Aug-8-2010)
6.] Event Movement to Location (Jan-2-2011)
7.] Evented Locations (Feb-21-2011)
8.] Slippery Floors (Mar-5-2011)
Go to the top of the page
 
+Quote Post
   
Ale Goth
post Dec 30 2010, 10:29 AM
Post #4


Darkness Is But A Good Thing. Use It wisely.
Group Icon

Group: Revolutionary
Posts: 138
Type: Writer
RM Skill: Advanced




Oh? Did you just stop reading right when I put impossible in the first line lol?
Because theres a demo the way I did it. I read how you though of a different way...and then bam in my head I think I know how you did it your own way.
Check x,y then check x2,y2 of destination and if x is > than x2 it would move left/right and repeat until reaching the desired x location. Rpeat for y in the direction of up and down. Would that happen to be the way you did it...because that way seems to be much easier than the one I posted in response haha.


__________________________
COMPLICATED is my middle name!
~I am formerly known as Hatredlust. My new name Is Ale Goth :)
Long live the...!


Go to the top of the page
 
+Quote Post
   
sasofrass
post Dec 30 2010, 03:23 PM
Post #5


I can event anything.
Group Icon

Group: Revolutionary
Posts: 254
Type: Event Designer
RM Skill: Masterful




QUOTE (Ale Goth @ Dec 30 2010, 01:29 PM) *
Oh? Did you just stop reading right when I put impossible in the first line lol?


kinda tongue.gif but i still read it

QUOTE (Ale Goth @ Dec 30 2010, 01:29 PM) *
Check x,y then check x2,y2 of destination and if x is > than x2 it would move left/right and repeat until reaching the desired x location. Rpeat for y in the direction of up and down. Would that happen to be the way you did it...because that way seems to be much easier than the one I posted in response haha.


Exactly how I did it. I use BlizzABS and when I design my boss fights I want the boss to walk to the center of the room, and when you're fighting him he can get moved all over the place. Having him teleport to the center of the room every time gets lame sad.gif

----------------------------

I went to open your file and Norton stopped me from doing it :\ couldn't get to see it. Maybe just put it all into a folder and zip it instead of compressing it?


__________________________
Eventing Tutorials (updated Mar-5-2011)

Easy Eventing Tutorial Submissions - All done by me!
1.] Easy Money Banking System (May-16-2010)
2.] Easy Random Lightening System (Jul-31-2010)
3.] Mining System with Events (Aug-1-2010)
4.] Easy Item Looting (Aug-8-2010)
5.] Locks (Aug-8-2010)
6.] Event Movement to Location (Jan-2-2011)
7.] Evented Locations (Feb-21-2011)
8.] Slippery Floors (Mar-5-2011)
Go to the top of the page
 
+Quote Post
   
Ale Goth
post Jan 1 2011, 10:53 AM
Post #6


Darkness Is But A Good Thing. Use It wisely.
Group Icon

Group: Revolutionary
Posts: 138
Type: Writer
RM Skill: Advanced




Oh wow, exactly like it.
Anyway, here is a zipped folder of the demo in case you still want to look at it.

Zipped Demo-Loc


__________________________
COMPLICATED is my middle name!
~I am formerly known as Hatredlust. My new name Is Ale Goth :)
Long live the...!


Go to the top of the page
 
+Quote Post
   
Zinx10
post Jan 2 2011, 02:08 AM
Post #7


Master of Darkness
Group Icon

Group: Revolutionary
Posts: 1,196
Type: Developer
RM Skill: Advanced
Rev Points: 5




Kind of what Ale Goth said, another way is where the person keeps getting closer and closer to the X and Y coordinates.
Check if X1 is equal to X2. If not, check if X1 is greater than X2, if not, person goes right, and vise versa. Then you can either do the risky method by keep on going until X matches, but have a wall problem, or do a tactic, where you do X then Y, then X, then Y, and so forth. Imagine kind of like the slope equation.

X2-X1
--------
Y2-Y1

Except, separate them, so no division. So if X2-X1 is a positive, the go right. If negative, go left. If Y2-Y1 is positive, go down (I believe), if negative, go up. Understand? Loops can help this situation. I hope I helped.


__________________________
My Games
Phelxyre: Time Unbound (Current Project)
Game Thread
A game where you start in the future, but you go to the past, to make things right, hopefully.

The Hidden World
Game Thread
An Arcade-style game where you must go through various puzzles to see if you go home.

Here are all the things I Support (They Include Links!)




Go to the top of the page
 
+Quote Post
   
sasofrass
post Jan 2 2011, 04:45 PM
Post #8


I can event anything.
Group Icon

Group: Revolutionary
Posts: 254
Type: Event Designer
RM Skill: Masterful




Made a demo: http://www.rpgrevolution.com/forums/index....showtopic=47480


__________________________
Eventing Tutorials (updated Mar-5-2011)

Easy Eventing Tutorial Submissions - All done by me!
1.] Easy Money Banking System (May-16-2010)
2.] Easy Random Lightening System (Jul-31-2010)
3.] Mining System with Events (Aug-1-2010)
4.] Easy Item Looting (Aug-8-2010)
5.] Locks (Aug-8-2010)
6.] Event Movement to Location (Jan-2-2011)
7.] Evented Locations (Feb-21-2011)
8.] Slippery Floors (Mar-5-2011)
Go to the top of the page
 
+Quote Post
   
Zinx10
post Jan 3 2011, 02:06 AM
Post #9


Master of Darkness
Group Icon

Group: Revolutionary
Posts: 1,196
Type: Developer
RM Skill: Advanced
Rev Points: 5




Did you ask us that, just so you could make one of those? Well, okay. biggrin.gif


__________________________
My Games
Phelxyre: Time Unbound (Current Project)
Game Thread
A game where you start in the future, but you go to the past, to make things right, hopefully.

The Hidden World
Game Thread
An Arcade-style game where you must go through various puzzles to see if you go home.

Here are all the things I Support (They Include Links!)




Go to the top of the page
 
+Quote Post
   
sasofrass
post Jan 8 2011, 11:23 PM
Post #10


I can event anything.
Group Icon

Group: Revolutionary
Posts: 254
Type: Event Designer
RM Skill: Masterful




QUOTE (Zinx_therpgmaker @ Jan 3 2011, 05:06 AM) *
Did you ask us that, just so you could make one of those? Well, okay. biggrin.gif


lol no i really wanted to see if there was an easier way to do it

gave me something to upload, aswell wink.gif


__________________________
Eventing Tutorials (updated Mar-5-2011)

Easy Eventing Tutorial Submissions - All done by me!
1.] Easy Money Banking System (May-16-2010)
2.] Easy Random Lightening System (Jul-31-2010)
3.] Mining System with Events (Aug-1-2010)
4.] Easy Item Looting (Aug-8-2010)
5.] Locks (Aug-8-2010)
6.] Event Movement to Location (Jan-2-2011)
7.] Evented Locations (Feb-21-2011)
8.] Slippery Floors (Mar-5-2011)
Go to the top of the page
 
+Quote Post
   
Zinx10
post Jan 9 2011, 12:07 AM
Post #11


Master of Darkness
Group Icon

Group: Revolutionary
Posts: 1,196
Type: Developer
RM Skill: Advanced
Rev Points: 5




Okay.
wink.gif


__________________________
My Games
Phelxyre: Time Unbound (Current Project)
Game Thread
A game where you start in the future, but you go to the past, to make things right, hopefully.

The Hidden World
Game Thread
An Arcade-style game where you must go through various puzzles to see if you go home.

Here are all the things I Support (They Include Links!)




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: 17th June 2013 - 10:51 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker