I haven't had one of these in a while :p
First off; the purpose: I have this saber I made the other night, and it is almost ready for release, except for this one issue; the box I spawned won't open.
Using Redhawke's Spawning Tut, (
http://www.lucasforums.com/showthread.php?t=143536) I was able to spawn a metal box.
My old script:
void main()
{
object oLocker=CreateObject( OBJECT_TYPE_PLACEABLE, "lcker_saber", Location(Vector(-56.55119, 53.20418, -0.00007), 0.0));
CreateItemOnObject("item_resref", oLocker);
}
My box spawned correctly, but it was un-openable. So, I tried adding my item to the box's utp file, and removing the CreateItem line, so my new script is...
void main()
{
object oLocker=CreateObject( OBJECT_TYPE_PLACEABLE, "lcker_saber", Location(Vector(-56.55119, 53.20418, -0.00007), 0.0));
}
And it was still unopenable.
So, is there a solution for my problem, because I sure haven't found one.