As I'm thinking more about this, I want to make a tease that has an introduction, a bunch of random pics, and an end. So I want to use pic() to show random pics, but I only want to show a subset of the pics, keeping the intro pictures and the ending pictures out of the possible range. Extending this, I can see a desire to have different categories of pics. For example, 10 pics of a red head in random order, then 10 pics of a brunette in random order.
Is it possible to either group pictures into different categories for randomization and have a new different function like randompic(category)
... or allow for wildcards so that pic("blue*.jpg") will choose between blueballs.jpg, blue2.jpg, blue3.jpg, but not endpic.jpg
... or maybe the best way (in my opinion) would be to have unlimited arguments for pic that will randomize between the choices like pic("3.jpg", "4.jpg", "5.jpg", "6.jpg", "7.jpg", "8.jpg", "9.jpg", "10.jpg"). This way, we can include the same pics in mutliple random pools. (e.g. a tease could have a beginner set of nice pics shown at random, and then progress to a wider set that include those same nice pics plus a few mean ones)
... or some other way?
Nyx: random of only a subset of pics
Re: Nyx: random of only a subset of pics
Hehe, that's already possible. (Try entering pic("blue*.jpg") in the script view.)camel wrote:... or allow for wildcards so that pic("blue*.jpg") will choose between blueballs.jpg, blue2.jpg, blue3.jpg, but not endpic.jpg
Of course it's a high priority feature for the visual editor as well. Let me put it on the todo real quick. (Generally there is A LOT that the script view already allows that the visual editor has no clue about as of now.)
I like that as well. Not sure about the exact implementation, maybe this would be something to develop in conjunction with the slideshow command idea.camel wrote:... or maybe the best way (in my opinion) would be to have unlimited arguments for pic that will randomize between the choices like pic("3.jpg", "4.jpg", "5.jpg", "6.jpg", "7.jpg", "8.jpg", "9.jpg", "10.jpg"). This way, we can include the same pics in mutliple random pools. (e.g. a tease could have a beginner set of nice pics shown at random, and then progress to a wider set that include those same nice pics plus a few mean ones)
- camel
- Explorer At Heart

- Posts: 331
- Joined: Fri Sep 29, 2006 4:40 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: Switch
ARGH! :-)
Hehe, that's already possible. (Try entering pic("blue*.jpg") in the script view.)
Seriously, though, it didn't work the first time I tried it! I probably made a syntax error or something.
DAMN.

