Page 1 of 1

Importing phunlet by clicking on an object or similar?

PostPosted: Fri Oct 09, 2009 8:30 pm
by Ivan
Is it possible to import a phunlet by clicking or doing a similar action on an object? If it is, how?

Re: Importing phunlet by clicking on an object or similar?

PostPosted: Fri Oct 09, 2009 8:47 pm
by niffirg1
Yes here is what i think you are looking for
Code: Select all
{(app.mousepos(0) >= (Position here) && app.mousepos(0) <= (Position here)) && (app.mousepos(1) >= (Position Here) && app.mousepos(1) <= (Position Here)} ? {scene.importphunlet "File Name Here"} :{}