Jump to content

if select OBJ ?


sbx
 Share

Recommended Posts

kilkam na box a on wykonuje "max move", klikam na sphere a ona wykonuje "max rotate"

 

czy ktos robil cos takiego ?

 

probowalem np. if (select $Box01)==1 then (max move)

 

podpiac pod controller->position script ale wywala:

 

>> MAXScript Script Controller Exception: -- Unable to convert: undefined to type: Point3

 

jak to zrobic ?

 

dziekuje :)

 

Link to comment
Share on other sites

Normalnie robi sie to na callbackach ale nie znalazlem takiego ktory bylby wywolywany w momencie zaznaczenia obiektu. Byc moze da sie to jakos obejsc wykorzystujac custom attributes np. wywolujac jakas funkcje w momencie otwarcia interfejsu dodanego do obiektu.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We are using cookies. Read about our Privacy Policy