Basic script object question.
by Tim Kin Chu · in Torque Game Builder · 04/28/2006 (8:19 pm) · 1 replies
When using srcipt object.
what is the use of second "objectName".
$objectName = new ScriptObject( objectName);
what is the use of second "objectName".
Torque Owner Bruno Grieco
objectname.x = 3;
And you can use it for inheritance as a copy constructor
$obj2 = new ScriptObject( myObj : ObjectName );