You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Suppose I want a prompt that says "camera placed X feet away", where X is a random number in a range. I went thru the syntax guide and it seems this is not directly implemented. I think I can simulate it this way:
camera placed {8|9|10|11|12}.{00|25|50|75} feet away
This would give me a random distance from 8.00 to 12.75 feet in steps of 0.25. It would be better if it's implemented directly, perhaps something like this:
camera placed at { $rand(8,12,".1f") }
".1f" is the floating point number format specifier, so I would get 8.0, 9.1, 11,3, etc.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Suppose I want a prompt that says "camera placed X feet away", where X is a random number in a range. I went thru the syntax guide and it seems this is not directly implemented. I think I can simulate it this way:
This would give me a random distance from 8.00 to 12.75 feet in steps of 0.25. It would be better if it's implemented directly, perhaps something like this:
".1f" is the floating point number format specifier, so I would get 8.0, 9.1, 11,3, etc.
Beta Was this translation helpful? Give feedback.
All reactions