WhackAMole Tutorial Issues...
by SnellyBigoda · in General Discussion · 06/26/2009 (6:38 am) · 0 replies
I'm trying to run through the WhackAMole tutorial from the help files in TGB 1.7.4. I'm up to the end of part 2 in the tutorial but, when I try and run the project I get the error message in the console: "game/gameScripts/respawnPoint.cs (6): Unable to find object:'' attempting to call function 'add'".
The function and line it's referring to is:
function respawnPoint::onLevelLoaded(%this, %level)
{
//echo('The %this object is ' @ %this);
%level.respawnPointSet.add(%this);
}
I've checked the object it does seem to exist I don't get a 'null' but, I'm stuck here I don't know what I've done wrong. Any help would be appreciated.
The function and line it's referring to is:
function respawnPoint::onLevelLoaded(%this, %level)
{
//echo('The %this object is ' @ %this);
%level.respawnPointSet.add(%this);
}
I've checked the object it does seem to exist I don't get a 'null' but, I'm stuck here I don't know what I've done wrong. Any help would be appreciated.