Jump to content


Photo

Event Can't Move to tile with certain region ID


  • This topic is locked This topic is locked
10 replies to this topic

#1 Deej

Deej

    Advanced Member

  • Ace Member
  • 161 posts
  • RM Skill - Jack of All Trades

Posted 06 March 2013 - 03:03 AM

I've been trying new things with region ID events, and I had this idea about not allowing events to move to a tile that has a certain Region ID.

 

So the event will walk around on it's region ID by detecting the region ID of the next tile and if it is walkable he'll move to it, if not he'll turn around and go somewhere else.

 

Is this possible?

 

 

EDIT: For eventing only


Edited by Deej, 06 March 2013 - 03:51 AM.


#2 Galv

Galv

    Forum Defender

  • Staff Manager/Global Mod
  • 5,171 posts
  • LocationAustralia
  • RM Skill - Jack of All Trades

Awards Bar:

Users Awards

Posted 06 March 2013 - 03:28 AM

Yep, Yanfly has a handy script that does nearly that:

http://yanflychannel...estrict-region/


Mr. Moony presents his compliments to Professor Snape,
and begs him to keep his abnormally large nose out of other people's business.

letter_log_harry_potter_envelope.png


Spoiler

#3 Deej

Deej

    Advanced Member

  • Ace Member
  • 161 posts
  • RM Skill - Jack of All Trades

Posted 06 March 2013 - 03:51 AM

Well, I'm wondering if it's possible to do via eventing



#4 Galv

Galv

    Forum Defender

  • Staff Manager/Global Mod
  • 5,171 posts
  • LocationAustralia
  • RM Skill - Jack of All Trades

Awards Bar:

Users Awards

Posted 06 March 2013 - 05:03 AM

I suppose it would be using parallel processes to control movement and lots of conditional branches or something... though I'm not sure why you would want to if the solution is simple and more efficient bot in development time and game processing using a script.


Mr. Moony presents his compliments to Professor Snape,
and begs him to keep his abnormally large nose out of other people's business.

letter_log_harry_potter_envelope.png


Spoiler

#5 Deej

Deej

    Advanced Member

  • Ace Member
  • 161 posts
  • RM Skill - Jack of All Trades

Posted 06 March 2013 - 05:19 AM

Well, I'm not trying to create a game, I'm not interested in using someone elses scripts, I want to better my events and scripting by reading and learning. Thanks for trying to help anyway though.



#6 Tsukihime

Tsukihime

    Advanced Member

  • Ace Member
  • 6,312 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 06 March 2013 - 05:35 PM

If you want to learn how to do it you can look at how others do it.
My Scripts. Go here for Bugs and Requests.
Want to write a tutorial? Submit a community tutorial!

himeworks011.png

Like on Facebook: HimeWorks
Follow me on Twitter for the latest updates! @HimeWorks

#7 Deej

Deej

    Advanced Member

  • Ace Member
  • 161 posts
  • RM Skill - Jack of All Trades

Posted 06 March 2013 - 10:22 PM

Haha. Yeah, I am, thats the point of this post. I know its possible in scripting, almost everything is. Im wondering if its possible in eventing

#8 Tsukihime

Tsukihime

    Advanced Member

  • Ace Member
  • 6,312 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 06 March 2013 - 10:25 PM

Considering that you will need to use script calls, no it is not possible with pure eventing

Edited by Tsukihime, 06 March 2013 - 10:25 PM.

My Scripts. Go here for Bugs and Requests.
Want to write a tutorial? Submit a community tutorial!

himeworks011.png

Like on Facebook: HimeWorks
Follow me on Twitter for the latest updates! @HimeWorks

#9 Deej

Deej

    Advanced Member

  • Ace Member
  • 161 posts
  • RM Skill - Jack of All Trades

Posted 06 March 2013 - 10:30 PM

Bugger, Ill have to add evented sensoring for enemies in a different way. Thanks mate.

#10 Tsukihime

Tsukihime

    Advanced Member

  • Ace Member
  • 6,312 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 06 March 2013 - 10:40 PM

Just use script calls; they are an integrated part of the RM event system.
There is no need to avoid them even if you are an event purist.

Edited by Tsukihime, 06 March 2013 - 10:41 PM.

My Scripts. Go here for Bugs and Requests.
Want to write a tutorial? Submit a community tutorial!

himeworks011.png

Like on Facebook: HimeWorks
Follow me on Twitter for the latest updates! @HimeWorks

#11 Deej

Deej

    Advanced Member

  • Ace Member
  • 161 posts
  • RM Skill - Jack of All Trades

Posted 06 March 2013 - 10:55 PM

Well, I was hoping to avoid scripts from systems I want to make until I understand scripting better (Which I am far from) But it's looking like I'll have to turn it up a notch and get my rear into gear, hm.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users