PDA

View Full Version : 2 questions about extends:*


duke
07-28-2010, 04:18 AM
I'm making a scripted helper, and like most of the other scripted plugins, it inherits something. In my case I just chose Point.

a) How do I hide the Point Parameters so it just shows mine in its settings?

b) How do I call a function in my script from within the rollout? ie (pseudo-code):

rollout params "something"
(
DoThis
)

fn DoThis = ()


Currently it doesn't know what the hell i'm talking about because the function is not within the scope of the rollout.

lo
07-28-2010, 05:44 AM
a) How do I hide the Point Parameters so it just shows mine in its settings?

in the plugin clause definition, add a 'replaceUI:true' parameter

b) How do I call a function in my script from within the rollout? ie (pseudo-code):

define the function before the rollout.

duke
07-28-2010, 06:07 AM
Right, thanks!

CGTalk Moderation
07-28-2010, 06:07 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.