Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Thread Tools Display Modes
How to get new methods to show up in right-click menu?
Posts: n/a
Default How to get new methods to show up in right-click menu? - 12-04-2005, 03:38 PM

I created a version of the axes class with a new method. The method is called "lock to" and it takes one parameter, an object. The method positions and orients the axes to that object, and then sets the object to be the vehicle for the axes.

The whole point of this, of course, is to make it so that I can attach axes to objects while setting up a scene to make the scene set up go more quickly.

But there's a little catch... While setting up the scene, I load in my new axes, hoping to use the new "lock to" method, by right-clicking on the axes tile in the hierarchy. But unfortunately, my custom method does not show up in the right-click menu. So I have no way to use this new method.

Well, sure, I could use the new method in an actual script, by dragging the corresponding tile over. But I can't use it as part of scene setup, which is what I really want to do.

So, is there any way to add my custom method to the right-click menu?
Is there any way, other than right-clicking on an object, to access a method in "realtime".
Reply With Quote
Posts: n/a
Default 06-10-2008, 04:52 PM

sorry but i don't think there is.
Reply With Quote
Senior Member
beachbum111111's Avatar
Status: Offline
Posts: 852
Join Date: Feb 2010
Location: e
Default 01-24-2011, 11:59 AM

lol. This thread is the 117th thread lol

"Don't lead me into temptation I can find it myself"
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.