VPX Documentation
Trigger
4min
variables variables are items in vpx you can set, adjust or call call detail example name(string) x(float) y(float) radius(float) timerenabled(bool) timerinterval(int) set interval for triggering the timer (1 equals 1000 timer calls per second, 1000 equals 1 timer call per second, 1 makes it dependent on the fps that a user can reach) enabled(bool) visible(bool) triggershape(shape) 0=none, 1=wire, 2=star surface(string) uservalue(any) can store any user defined value for re use later on hitheight(float) rotation(float) animspeed(float) wirethickness(float) this option is only used for wire shape triggers the thickness is a factor to scale the wire 0=normal thickness(default) to make it thicker use values like 0 5, 1, 1 5, 2 methods methods are procedures or actions that you can fire in vpx call detail example ballcntover(int value) destroyball(int ballid) events event detail example init timer hit unhit dispinterface itriggerevents { properties methods \[id(dispid gameevents init)] void init(); \[id(dispid timerevents timer)] void timer(); \[id(dispid hitevents hit)] void hit(); \[id(dispid hitevents unhit)] void unhit(); }