if (ActorCount("ACTOR")==0)
{
//CreateActor
}
if (ActorCount("Tarpan")==0)
{
//CreateActor("Tarpan", "tarpantangallop01", "(none)", "tarpan1", 494, 160, true);
}
// The two slashes mean the line is commented out, in gameEditor, it will turn the code light blue
// this means that it will ignore this code. You can put them in to explain your logic, or show what needs fixing
// etc. Another way to do this is,
/*
These are also commented out
eventhough I don't have the //
*/
// so just get rid of the two // in front of the CreateActor
if (ActorCount("Tarpan")==0)
{
CreateActor("Tarpan", "tarpantangallop01", "(none)", "tarpan1", 494, 160, true);
}
skydereign wrote:Could it be that the actor is not created on the screen?
I don't know what regulation you are doing to keep the actor on the screen. This will also not work if there is another actor of the same kind already. Can you give more detail on your setup?
// The two slashes mean the line is commented out, in gameEditor, it will turn the code light blue
// this means that it will ignore this code. You can put them in to explain your logic, or show what needs fixing
// etc. Another way to do this is,
/*
These are also commented out
eventhough I don't have the //
*/
// so just get rid of the two // in front of the CreateActor
jimmynewguy wrote:kool looking and sounding game by the way, did u draw the sprites yourself?
Users browsing this forum: No registered users and 1 guest