- This topic has 10 replies, 3 voices, and was last updated 5 years, 7 months ago by fusionwerks.
-
AuthorPosts
-
September 27, 2018 at 1:34 pm #99608
hey, im hoping somebody will know the answer to this.
I have a WIP that was created prior to pinup version 1.3. All the scripting was done based on that era. Now that i have updated to version 1.3 i have lost some of the functionality on my table.
anything that refers to pDMDSplashBig or pDMDSplashLines do not work anymore with the number of arguments.
Example:
This works:
pDMDSplashBig “Game Over”, 2, 12632256, 1
This does not:
pDMDSplashBig “Game Over”, 2, 12632256, 0
the last number tells it to blink or not. What do i need to put here to make it show up, but not blink or scroll?
You need to login in order to like this post: click here
September 27, 2018 at 1:41 pm #99610I think you’re talking about PuPDMD functionality?
download this sample vpx/demo and see tablescript at bottom for new/updated functions.
http://www.nailbuster.com/pup/PuPDMDSample.zip
You need to login in order to like this post: click here
September 27, 2018 at 2:01 pm #99613Sigh. I think so. So are you basically telling me that now that i updated, (as well as anyone else) none of the v1.2 scripting will work? I need to completely redo everything relating to the dmd?
You need to login in order to like this post: click here
September 27, 2018 at 2:06 pm #99615Im not basically telling you anything. i sent you the sample code to compare to what you are doing… nothing has changed between 1.2 to 1.3 about this.
the splash function you are talking about never had 4 parameters… so perhaps you changed it in your script. these are just helper functions.
You need to login in order to like this post: click here
September 27, 2018 at 3:08 pm #99620your right! When JP and i were trying to figure this out, he must have “adjusted” the helper function to keep it from blinking. This is what he did:
Sub pDMDSplashBig(msgText, timeSec, mColor, Blink)
PuPlayer.LabelShowPage pDMD, 2, timeSec, “”
PuPlayer.LabelSet pDMD, “Splash”, msgText, 0, “{‘mt’:1,’at’:” & Blink & “,’fq’:150,’len’:” & (timeSec * 1000) & “,’fc’:” & mColor & “}”
end subso… i replaced it back to the default and everything shows, but now stuff that i dont want to blink blinks. Is there a helper that doesnt blink text?
You need to login in order to like this post: click here
September 27, 2018 at 3:18 pm #99624Sure. If you copy the sub that JP made and change its name to dontblinkstupid, and call that instead when you don’t want it to blink :)
You need to login in order to like this post: click here
September 27, 2018 at 3:25 pm #99628um…thanks? i think you missed the point. If i have it set up the way it is above it doesn’t show up at all, so changing the name of the sub wont help. I may just change the frequency(fq) to a higher number that is longer than the text will be displayed.
You need to login in order to like this post: click here
September 27, 2018 at 3:33 pm #99631Ah. Ok. I thought you said it didn’t blink – sorry.
You need to login in order to like this post: click here
September 27, 2018 at 3:38 pm #99633this is pseudo code..
Sub pDMDSplashBig(msgText, timeSec, mColor, Blink)
PuPlayer.LabelShowPage pDMD, 2, timeSec, “”
if Blink = 1 then
PuPlayer.LabelSet pDMD, “Splash”, msgText, 0, “commands from my vpx”else
PuPlayer.LabelSet pDMD, “Splash”, msgText, 1, “”
end sub
You need to login in order to like this post: click here
September 27, 2018 at 3:49 pm #99636i’ll give it a go, thanks guys
You need to login in order to like this post: click here
September 27, 2018 at 4:09 pm #99638that did what i needed with an “end if” in there. Thanks NB!
You need to login in order to like this post: click here
-
AuthorPosts
Forums are currently locked.