Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RPGXP Script Request: Movement by terrain
#7
When you go into 'Conditional Branch' in the events editor, look at the list of stuff in the 4th tab. The last item on the list is 'Script'. There, you can script a condition, such as " Input.dir4 == 2" You don't need an if in this case.

So, it will look like:
Code:
@>Conditional Branch:  Script:  Input.dir4 == 2
  @>Set Move Route: Player
  :                :$>Move Lower Left
  @>
: Else
  @>Conditional Branch:  Script:  Input.dir4 == 4
    @>Set Move Route: Player
    :                :$>Move Lower Left
You wouldn't need the first 'Button Input Processing' command then.
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-26-2013, 05:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Script compatibility help Lord Vectra 3 3,882 07-25-2021, 11:42 PM
Last Post: DerVVulfman
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 13,868 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   "Wait" in the script Whisper 13 14,481 04-28-2020, 04:06 PM
Last Post: Whisper
   Skill Cooldown script Fenriswolf 11 14,852 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   Help iwth script (RGSS Player crash) Whisper 3 7,915 06-17-2017, 05:03 PM
Last Post: Whisper
   Help modifying a script Keeroh 7 9,447 06-11-2017, 04:43 PM
Last Post: DerVVulfman
Question  Mog Menu script: help me stop the crazy picture movement during transitions Zachariad 4 9,060 05-31-2017, 05:10 AM
Last Post: Zachariad
   Actor names in Quest Script jreagan406 5 7,967 03-07-2017, 08:06 AM
Last Post: JayRay
   Bizarre issue with Lanzer counter script. Steel Beast 6Beets 2 6,821 10-04-2016, 11:46 AM
Last Post: Steel Beast 6Beets
   Moonpearl script Animated Battlers help!! x(( Starmage 11 14,457 05-21-2016, 05:34 AM
Last Post: Starmage



Users browsing this thread: