Critical Mass :: 3D Action Puzzle Game

Don't Like Ad's?
Click Here


Forum Index - 3Dimensional - MaxScript - Random Box Size

There are 5 replies to this topic ShareIt! Text-To-Speech





+VarnishedOtter
Admin
VarnishedOtter

2 years ago
Heres a simple script I used to make a selection of boxes random sizes.

minheight = 100
maxheight = 1000
minwidth = 10
maxwidth = 100

for obj in selection do(
obj.height = random minheight maxheight
obj.width = random minwidth maxwidth
)


Please support us and post a [Link to www.digitalartsfront.com] on your website.

--Matt

+Steve Martin
Moderator
Steve Martin

2 years ago
Are you able to upload these as ms files?
[Link to www.3dprevis.com]

+VarnishedOtter
Admin
VarnishedOtter

2 years ago
I could. Or you could just go New Script->Paste->Save.

Haha. I'll upload them if you really want.
Please support us and post a [Link to www.digitalartsfront.com] on your website.

--Matt

+Steve Martin
Moderator
Steve Martin

2 years ago
That would cost me precious milliseconds.

You should start a scripts thread in the resources section and just keep adding to that.
[Link to www.3dprevis.com]

+VarnishedOtter
Admin
VarnishedOtter

2 years ago
Yeah I could do that... but those precious milliseconds... you know.
Please support us and post a [Link to www.digitalartsfront.com] on your website.

--Matt

+Steve Martin
Moderator
Steve Martin

2 years ago

Top

Critical Mass :: 3D Action Puzzle Game

Don't Like Ad's?
Click Here