Ramp
Variables are items in vpx you can set, adjust or call.
Call | Detail | Example |
---|---|---|
Name(string) | | |
HeightBottom(float) | | |
HeightTop(float) | | |
WidthBottom(float) | | |
WidthTop(float) | | |
Type(RampType) | 0=Flat, 1=4Wire, 2=2Wire, 3=3WireLeft, 4=3WireRight, 5=Wire | |
Image(string) | texture name | |
ImageAlignment(RampImageAlignment) | 0=ImageModeWorld, 1=ImageModeWrap | |
HasWallImage(bool) | apply image to walls | |
LeftWallHeight(float) | | |
RightWallHeight(float) | | |
UserValue(any) | can store any user defined value for re-use later-on | |
VisibleLeftWallHeight(float) | | |
VisibleRightWallHeight(float) | | |
Elasticity(float) | | |
HasHitEvent(bool) | enables the support for a hit event in the script (it's the same as for walls) | |
Threshold(float) | hit threshold for firing the hit event | |
Collidable(bool) | | |
Visible(bool) | | |
Friction(float) | 0..1 | |
Scatter(float) | | |
ReflectionEnabled(bool) | default=true | |
Event | Detail | Example |
---|---|---|
_Init | | |
(_Timer) | CURRENTLY DISABLED | |
| | |