Tagged 'ScriptSpot How To'

Cycle through objects in loop

I can not figure this out by myself. banging my head for 2 days now.
Basically it is a path follow with boxes as path. I hope I can explain correct.
I want object called mover to go over this path.
If box_001 is selected the object mover is on the same place as box_001
On press but_up pressed
box_002 gets selected and the mover.position = box_001 then mover.position = box_002 and adding key to time line + 5
and so on..

I am not sure how to achieve this cycle in objects.(From box_001 to box_120 )
I tried braking up the name extension and replace the last 3 digits

need help please

hi, i have a lil' script and is not working and i wish to know what i have done wrong please

tha script:

for m in meditmaterials[2] do
(
if m.opacityMap != undefined do
(
m.opacityMap = undefined
)
)

and i've got this

-- Error occurred in m loop
-- Frame:
-- m: undefined
-- Unknown property: "opacityMap" in undefined
OK

and sorry if i post this here but i don;t know where

thanks in advance

How to: Post images

Ever wanted to post images with your content to ScriptSpot? There is a link below any "Body" textbox that says "enable rich-text" which will turn on the TinyMCE rich text editor. Once that is up, click the "insert image" button to bring up a upload tool / file manager.

How can I implement the link to the website via the button?

Hi,
Of course I can use a hyperlink but I would like to make a nice button to go to the website. Please tell me how to implement it? Thanks in advance for your time.

How to: Edit your profile

You might have seen some posts have a block on the left with info about the author or you may have visited a user profile page and seen a bio about a user. Simply filling out your profile will make that information about you available to visitors.

hi i want to do this operation on multiple selected objects

hi i want to do this operation on multiple selected objects

$.pos.controller.Path_Constraint.controller.follow = on

It operates on a single object , but with a multiple selection says
- Unknown property: "pos" in $selection

what should I do?

thanks for your time

problem whith this line "paramWire.connect c1.pos.controller[#X_Position] c2.controller[#Z_Position] "X_Position""

at first im sorry for my english, im spanish and my english is not the best.
anyway i have a problem with this line
paramWire.connect c1.pos.controller[eje1s] c2.pos.controller[eje2s] eje1f
i know that the good sentence is this one:
paramWire.connect c1.pos.controller[#X_Position] c2.controller[#Z_Position] "X_Position"

i take eje1s,eje2s and eje1f from:
/*Eje1s*/
--
case eje1.selected of
(
"X": eje1s="#x_Position"
"Y": eje1s="#y_Position"
"Z": eje1s="#z_Position"
)

--
/*Eje2s*/
--case eje2.selected of
(
"X": eje2s="#x_Position"

Geometry paint Help please

Hi everyone,

This is my first post here and hope someone can help me.

I am reading the "Autodesk Official training MaxScript essential" and tried the mouse track example in the book to place my objects on a surface.

Everything works fine but I have no control over the distance between objects being placed on the surface.

I have also seen Paint cloner by andrei kletskov which is great but I can't understand his code since I am still a beginner.

Could anyone plz tell me how I can control the distance using this code I have? Thanks in advanced.

Here is the code I have:

Help with Resizing rollout based on Subrollout "rolledUp"

Hello Guys, im working on a personal project Im trying to create a rollout with some subrollouts the idea is to resize the mainrollout based on the "RolledUp" state of the subrullouts and move the available buttons, but i ran into some issues:

How to select Knots Using Segment of Spline? Or How to convert Segment to Knots?

Please tell me

Syndicate content