View Full Version : lscript commander prob
KillMe 02-03-2003, 03:32 AM ok this is infuriating
all i wanted was to set it up so i had some buttons on the menu in layout to laod primative objects in
so i made the priamtive models saved them put them ina folder all tehr own for neatness opened up layout started the lscript commander and loaded up the first object recorded this pressed theexecute to see if it works and bang the shere appears i hit install give it a name it appears on menu ipress the one on the menu and error cant find object???????? what that all about?
arghhh hate ti when simple stuff doesn't work like its supposed too
| |
faulknermano
02-03-2003, 03:41 AM
Originally posted by KillMe
ok this is infuriating
all i wanted was to set it up so i had some buttons on the menu in layout to laod primative objects in
so i made the priamtive models saved them put them ina folder all tehr own for neatness opened up layout started the lscript commander and loaded up the first object recorded this pressed theexecute to see if it works and bang the shere appears i hit install give it a name it appears on menu ipress the one on the menu and error cant find object???????? what that all about?
arghhh hate ti when simple stuff doesn't work like its supposed too
lscript commander is far from perfect. post the script that you have made. it'll be easier to help you out.
E_Moelzer
02-03-2003, 04:04 AM
Hmm, the onlything I have noticed in this context is that LS- commander by default uses absolute pathes.
I am not sure if thishas anything to do with your problem, but there is a function called "fullpath", that will convert your content- directory- path (wherever it is, it just has to be set correctly in the general options) in a full- path that lscript can deal with, no matter what the absolute path to your content- dir is.
I have done a few scripts like these and they would look like that:
LoadObject (fullpath("enter realtive path here"))
Hope that helps
CU
Elmar
E_Moelzer
02-03-2003, 04:05 AM
Hmm, the only thing I have noticed in this context is that LS- commander by default uses absolute pathes.
I am not sure if thishas anything to do with your problem, but there is a function called "fullpath", that will convert your content- directory- path (wherever it is, it just has to be set correctly in the general options) in a full- path that lscript can deal with, no matter what the absolute path to your content- dir is.
I have done a few scripts like these and they would look like that:
LoadObject (fullpath("enter realtive path here"))
Hope that helps
CU
Elmar
CGTalk Moderation
01-14-2006, 09:00 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.
vBulletin v3.0.5, Copyright ©2000-2009, Jelsoft Enterprises Ltd.