Game Development Community

ScriptObject in the latest Demo app

by Zod · in Torque Game Engine · 10/18/2003 (2:57 pm) · 3 replies

I have created a scriptObject and verified it using isObject() but for some reason when I call MyObjectName.someFunction(); it gives me the following error:


common/server/file.cs (248): Unknown command someFunction.
Object MyObjectName(1635) ScriptObject -> SimObject

This worked in the previous builds of the Demo. Do I have to make script calls differently now for scriptObjects?

#1
10/18/2003 (3:58 pm)
Are you sure it is the latest demo app? I posted this issue as a Bug and one of the GG chaps (Think it was Mark) confirmed and resolved the bug



The bug I reported


-Ron
#2
10/19/2003 (11:54 am)
I am using the currently downloadable version. I am going to assume it has not been recompiled with the fixes yet so I'll just wait. Thanks for the quick responce, I am kind of surprised it was broken.

btw I even tried eval to no evail :)
#3
10/19/2003 (2:31 pm)
They don't update the SDK download very often, so far as I know...