Game Development Community

Missing CycleMissions?

by CdnGater · in Torque Game Engine · 05/04/2004 (5:02 am) · 2 replies

In the function loadMissionStage2 in example\common\server\missionLoad.cs there is some script that refers to another script or code that I cannot find. I was wondering what it does. I have also looked in RealmWars, Torque and this site, still I have not found it, hence this question.

// If there was a problem with the load, let's try another mission
   if( !isObject(MissionGroup) ) {
      error( "No 'MissionGroup' found in mission \"" @ $missionName @ "\"." );
      schedule( 3000, ServerGroup, [b]CycleMissions[/b] );
      return;
   }

It is the CycleMissions I cannot find anywhere.. I assume it randomly picks a mission from a list and tells the connected clients to load it, but what else?

#1
05/04/2004 (5:24 am)
That should probably refer to cycleGame in game.cs
#2
05/04/2004 (6:03 am)
Oh, that makes sence. Thanks John.