I have an old script form 96 I want to try and get working with 97, but I'm missing an included bank file(include utils/bank)
I downloaded a 96 distro and looked for the file but to no avail, does anyone know where I can get the most recent version of this file?(I can't remember what exactly was in the file =/)
I'm pretty sure the original location was in scripts/include folder.
Sorry if this is a stupid question by the way
Need to find a certain file
Moderator: POL Developer
Re: Need to find a certain file
Okay I found the file in 95, but I need to convert this line:
FindRootItemInStorageArea( worldbank, bank_obj_name );
to 97, anyone know what I need to change for this? It says its not defined, and i'm not sure where it was defined in 95, the only include is objtype =/
FindRootItemInStorageArea( worldbank, bank_obj_name );
to 97, anyone know what I need to change for this? It says its not defined, and i'm not sure where it was defined in 95, the only include is objtype =/
Re: Need to find a certain file
POL 97 uses 'storage.em' :
Contents of storage.em :
//
// Storage area functions
//
StorageAreas();
FindStorageArea( areaname );
FindRootItemInStorageArea( area, itemname );
CreateStorageArea( areaname );
CreateRootItemInStorageArea( area, itemname, objtype );
DestroyRootItemInStorageArea( area, itemname );
So at the beginning of your function or program, where you would see "use uo";
you would add another line below that "use storage";
The function you are looking for is in storage.em.
Best regards,
Justae.
Contents of storage.em :
//
// Storage area functions
//
StorageAreas();
FindStorageArea( areaname );
FindRootItemInStorageArea( area, itemname );
CreateStorageArea( areaname );
CreateRootItemInStorageArea( area, itemname, objtype );
DestroyRootItemInStorageArea( area, itemname );
So at the beginning of your function or program, where you would see "use uo";
you would add another line below that "use storage";
The function you are looking for is in storage.em.
Best regards,
Justae.
Re: Need to find a certain file
Ah, thank you so much