Ive known for some time, that if you have any undefined templates in the symbols section, 'Creatething()' or 'Createthingatpos()' dont work. The object isnt created, and a -1 is returned if queried.
Now, in testing the TVTCS door module/class cogs, I am getting a -1 returned on "Createthingatpos()"... ALL of the syntax is correct, the variables are in place, and that section of code is actully copied from an earlier cog. BUT, it doesnt work. TO ensure that it is a Creatething() freeze, and not syntax error, I added "Printint(Creatething(Type0, JKgetlocalplayer()));" after a sleep on startup. It returnes -1. "Type0" of course exists, and is defined. All the other template inputs are filled with null (light1.0) values.
Ok, my question, what else can cause Creatething() freezes?
BTW, the cog checks out ok in PARSEC.
------------------
I used to believe that we only want what we can't have. I was wrong. The truth is, the wonderful truth is, we only want what we think we can't have.
JK editing resources.
Now, in testing the TVTCS door module/class cogs, I am getting a -1 returned on "Createthingatpos()"... ALL of the syntax is correct, the variables are in place, and that section of code is actully copied from an earlier cog. BUT, it doesnt work. TO ensure that it is a Creatething() freeze, and not syntax error, I added "Printint(Creatething(Type0, JKgetlocalplayer()));" after a sleep on startup. It returnes -1. "Type0" of course exists, and is defined. All the other template inputs are filled with null (light1.0) values.
Ok, my question, what else can cause Creatething() freezes?
BTW, the cog checks out ok in PARSEC.
------------------
I used to believe that we only want what we can't have. I was wrong. The truth is, the wonderful truth is, we only want what we think we can't have.
JK editing resources.
And when the moment is right, I'm gonna fly a kite.