PDA

View Full Version : Need help with vehical script


Whataface2
03-16-2008, 11:16 PM
I'm trying to make an event that causes the vehical to jump over an object.

I've got the vehical part of the script down. The problem is that I can't get the vehical to jump over the fence. Here is what I have so far for the script:

Script Branch Condition: Vehical Flag on
Object bypass: yes
Apply Together
Party vertical move: 40/16
Party direction move: 3 steps north at 4 times normal speed
Apply in order
Object bypass: No
Party direction move: 1 step N at normal speed
Script branch end.

What happens when I use this script is the vehical rises up and then comes down and runs through the fence.

I've tried using party float instead of the vertical move, but that only raises the party up but not the vehical.

Any suggestions?

Dungeon Warden
03-17-2008, 11:59 AM
you need to put an invisible object over the fence. Preferably one three blocks long (Gate B [it's the long gray object that sits on top of the other gate piece] works great for this). Vertical move will cause the vehicle to move through the object so you don't want By Pass object on. The idea is the move the vehicle on top of the block - drive over the block (and thus over the fence) and then drop down on the other side (vertical move will work here as well).

If an event moves it drops down to the ground. There is no float command for events. You can set a vehicle to move at higher levels but it's part of the vehicle set up and I don't think you can change it on the fly. Might be worth looking into.

Whataface2
03-17-2008, 10:00 PM
Thanks, I'll give it a try. I thought the solution would have been more complicated.