Help - Search - Members - Calendar
Full Version: [VX]Moving Blocks[VX]
RPG RPG Revolution Forums > Scripting > Event Emporium > Eventing Tutorials
Pharonix
Not sure if people already know how to do this
Or it was already submitted.
Also I'm not sure How to submit an event, but here goes

Difficulty - VERY EASY
PLATFORM - VX
Knowledge - conditional loops and movement

Event availability - You can just copy / paste the block events and everything will work, just give it a new graphic if you want.
and remove the text saying move block? etc.

http://www.mediafire.com/?dbt60nh04fccmpy Heres the link to the compressed data file.

Hope it helps somebody.


My first event submission so please tell me if I did anything wrong or should have added something.
or if I wasn't thorough enough.

I had my sister try it out and she doesn't know anything about the system, but was able to follow the instructions easily enough.
Holder
Thanks for your contribution, I'm sure things like this will be useful to people starting out with the engine.

It would be better if you either typed out the event code within your post or posted pictures. Downloading a project file for a difficulty level of very easy is a bit much and I'd only see it necessary for larger more complex event systems.
Pharonix
Sorry there holder,
I'll post some lines from it.

Here's what the event looks like.

speed x4 slower
Priority same
trigger, action button

CODE
Show choices yes, no
when [yes]
@> conditional branch: Player is Facing Down
@> play se 'Earth4'.80.100
Set Move Route: This event (Skip, Wait)
                   $>Move Down
ELSE
        @> conditional branch: Player is Facing Up
        @> play se 'Earth4'.80.100
        Set Move Route: This event (Skip, Wait)
                   $>Move UP
        ELSE
         @> conditional branch: Player is Facing left
        @> play se 'Earth4'.80.100
        Set Move Route: This event (Skip, Wait)
                   $>Move left
        ELSE
         @> conditional branch: Player is Facing right
        @> play se 'Earth4'.80.100
        Set Move Route: This event (Skip, Wait)
                   $>Move right
        ELSE

       BRANCH END
  BRANCH END
BRANCH END
BRANCH END
When [NO]
BRANCH END


Might have left out an else or branch end I dunno, but that's essentially what it is.



EDIT: Also, I forgot to mention, if you want a character to need to have acquired a certain item first, thats easily added by creating a conditional branch

IF item, gauntlet of power is in inventory
<insert above code>

ELSE
text "This boulder is too heavy." .... etc.
Alt_Jack
You could also throw in "player - step forward" after the event moves, so that you don't have to keep chasing your boulder. It's also helpful to turn on "skip if cannot move" , since the game tends to freeze when it runs into that kind of can't-move conundrum.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.