Jump to content

Button Keeps Breaking In Hda


Recommended Posts

Hey,

I have created an HDA that has a button that sets off a render from a rop inside my HDA. The problem is whenever I bring in my HDA node the button breaks and I have to re-establish the link to the ROP by putting the path to that ROP into the "Auto-Link" parameter in the "Type Properties". Once I do that then the button works fine. Im not sure what I am doing wrong. Thanks.

Link to comment
Share on other sites

Hey,

I have created an HDA that has a button that sets off a render from a rop inside my HDA. The problem is whenever I bring in my HDA node the button breaks and I have to re-establish the link to the ROP by putting the path to that ROP into the "Auto-Link" parameter in the "Type Properties". Once I do that then the button works fine. Im not sure what I am doing wrong. Thanks.

Hey Spencer,

Maybe try just skipping the parameter linking and use a callback script in the button parameter to fire off the ROP. Try:

opparm /obj/geo/myRop execute ( 1 )

*or*

render /obj/geo/myRop

...I think either one of those should work, but I've always used the "opparm" approach and it's worked for me... I gave the example using an absolute path but you'll probably want to use a relative path to your Rop since it's in an HDA... hope this helps!

-JS-

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...