VPX Documentation
Flasher
2min
variables variables are items in vpx you can set, adjust or call call detail example name(string) 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) imagea(string) texture name for image a imageb(string) texture name for image b filter(string) use one of the following filters to blend imagea > imageb 'none', 'additive', 'multiply', 'overlay', 'screen' (filter names are case sensitive!) this feature only works if you defined both images amount(int) defines the filter amount how much of imageb is filtered over imagea in percent (0 100, can be set to >100 though) mode 0=imagemodeworld, 1=imagemodewrap displaytexture(bool) opacity(int) lets you define the blend amount 0 100% (you can use values >100% though to for example enhance the strength of flashers in additive alpha blending mode) intensityscale(float) sets the flashers brightness/emission scale, so that one can fade in/out all affected flashers with the same scaling factor color defines the color of the element in the editor if you don't want to colorize the image set the color to blank white (rgb 255,255,255) visible(bool) shows/hides the flasher addblend(bool) use additive alpha blending instead of classical alpha blending imagealignment modulatevsadd(float) blends between modulating and additive when bulb is enabled (0 1) dmd(bool) enable dmd image via script connection uservalue(any) can store any user defined value for re use later on events event detail example init timer