RPGXP Script Request: Movement by terrain
#2
Would you believe you can do that with events???

Here's a basic event code that can make a character move down-left or up-right: (and you set the trigger to 'player touch')
Code:
@>Button Input Processing: [0025]
@>Conditional Branch:  Variable [0025] == 2
  @>Set Move Route: Player
  :                :$>Move Lower Left
  @>
: Else
  @>Conditional Branch:  Variable [0025] == 4
    @>Set Move Route: Player
    :                :$>Move Lower Left
    @>
  : Else

    @>Conditional Branch:  Variable [0025] == 6
      @>Set Move Route: Player
      :                :$>Move Upper Right
      @>
    : Else
      @>Conditional Branch:  Variable [0025] == 4
        @>Set Move Route: Player
        :                :$>Move Lower Left
        @>
      : Branch End
      @>
    : Branch End
    @>
  : Branch End
  @>
: Branch End
@>

You'd have an event with this code on every navigatable step in your steps. Some concessions will be needed if you want to let the player move straight up from the top of the steps, down from the bottom most steps, or left/right from either or. But this should help without the need of a script.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply


Messages In This Thread
RE: RPGXP Script Request: Movement by terrain - by DerVVulfman - 12-24-2013, 04:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Lead Actor Swapper script error Ace_V 25 2,083 09-07-2025, 01:22 PM
Last Post: DerVVulfman
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 3 2,943 11-22-2024, 07:02 PM
Last Post: JayRay
   Script compatibility help Lord Vectra 3 7,216 07-25-2021, 11:42 PM
Last Post: DerVVulfman
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 22,685 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   "Wait" in the script Whisper 13 21,904 04-28-2020, 04:06 PM
Last Post: Whisper
   Skill Cooldown script Fenriswolf 11 21,865 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   Help iwth script (RGSS Player crash) Whisper 3 10,574 06-17-2017, 05:03 PM
Last Post: Whisper
   Help modifying a script Keeroh 7 13,337 06-11-2017, 04:43 PM
Last Post: DerVVulfman
Question  Mog Menu script: help me stop the crazy picture movement during transitions Zachariad 4 12,694 05-31-2017, 05:10 AM
Last Post: Zachariad
   Actor names in Quest Script jreagan406 5 11,492 03-07-2017, 08:06 AM
Last Post: JayRay



Users browsing this thread: 1 Guest(s)