What's the mean of the error?
by Skirock · in Torque Game Builder · 07/27/2006 (1:22 am) · 2 replies
The error like that:
Error, cannot unlink namespace parent linkage for B for A.
//scipt in A.cs
function A::funcA()
{
//
}
//script in test.cs
function Test()
{
//B is the derive class ,and the class A is the base class, like the mean in the C++(class B: public A)
B.funcA();//when run here,it report the error above
}
the error have no effort to the run script ,and it just be seen in console's report,what's the meanl,and how to resolve? many thanks.
Error, cannot unlink namespace parent linkage for B for A.
//scipt in A.cs
function A::funcA()
{
//
}
//script in test.cs
function Test()
{
//B is the derive class ,and the class A is the base class, like the mean in the C++(class B: public A)
B.funcA();//when run here,it report the error above
}
the error have no effort to the run script ,and it just be seen in console's report,what's the meanl,and how to resolve? many thanks.
About the author
#2
I had an object that had a class of 'cue' and a superclass of 'ball' and 9 objects that had a class of 'ball' all configured within the Edit tab of the editor ... I then had code for ball::onLevelLoaded(...) and cue::onLevelLoaded(...) stored in ball.cs and cue.cs and exec'd in game.cs
I was unable to determine the cause of this issue, and eventually just gave up and rebuilt the project from scratch and did not have the problem again ... any ideas?
08/16/2006 (12:18 pm)
I recieved the same odd error in my billiards demo I was building, it said it was unable to unlink the namespace for cue from t2dStaticSprite then followed with unable to unlink namespace for cue for ball ... I had an object that had a class of 'cue' and a superclass of 'ball' and 9 objects that had a class of 'ball' all configured within the Edit tab of the editor ... I then had code for ball::onLevelLoaded(...) and cue::onLevelLoaded(...) stored in ball.cs and cue.cs and exec'd in game.cs
I was unable to determine the cause of this issue, and eventually just gave up and rebuilt the project from scratch and did not have the problem again ... any ideas?
Torque Owner Shane B.