Cloning
Posted: Tue Jun 23, 2015 4:40 pm
Hello there, I been having trouble with (cloneObject), I heard there might be a bug but not certain. Cloning was easy for me in LGR1 but nat as in 2. I been trying this but get an error
'cloneObject" (a nil value). I been using defineObject at the moment just to get it to work.
Here's what I have so far maybe someone can help.
cloneObject{ name = "test_rock",
baseObject = "rock",
components = {
{
uiName = "Test Rock",
weight = 0.4,
description = "This is a test."
},
}
}
'cloneObject" (a nil value). I been using defineObject at the moment just to get it to work.
Here's what I have so far maybe someone can help.
cloneObject{ name = "test_rock",
baseObject = "rock",
components = {
{
uiName = "Test Rock",
weight = 0.4,
description = "This is a test."
},
}
}