LoadMission
by gamer · in Torque Game Engine · 04/26/2006 (11:22 am) · 2 replies
I am trying to load mission when the game is not in play. I tried loadMission(%missionName, %isFirstMission), if I set isFirstMission to false, then it would go to
schedule( $MissionLoadPause, ServerGroup, loadMissionStage2 ); and then nothing happens. seems like the it didn't schedule the task to run.
if I set isFirstMission to true, then it would generate some error:
Stage 1 load
Stage 2 load
Executing "...xx.mis"
Object 'SpawnSphereMarker' is not a member of the 'GameBaseData' data block class.
.
.
.
If I invoke LoadMission(%missionName) during another mission game play, then it loads fine.
what am I missing?
thanks
schedule( $MissionLoadPause, ServerGroup, loadMissionStage2 ); and then nothing happens. seems like the it didn't schedule the task to run.
if I set isFirstMission to true, then it would generate some error:
Stage 1 load
Stage 2 load
Executing "...xx.mis"
Object 'SpawnSphereMarker' is not a member of the 'GameBaseData' data block class.
.
.
.
If I invoke LoadMission(%missionName) during another mission game play, then it loads fine.
what am I missing?
thanks
About the author
Torque Owner Paul /*Wedge*/ DElia