VPX Documentation
Ramp
3min
variables 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 events event detail example init ( timer) currently disabled dispinterface irampevents { properties methods \[id(dispid gameevents init)] void init(); //\[id(dispid timerevents timer)] void timer(); }