Game Development Community

Starting mission from load?

by Barry Gallagher · in General Discussion · 01/25/2006 (4:18 am) · 2 replies

...i want to bypass the start screens and load my mission at start..

im pretty sure this is posssible... something like

"C:\Documents and Settings\cghnd20\Desktop\Torque Game Engine\demo.exe"-mission demo/data/missions/flat.mis

anybody able to inform me?

#1
01/25/2006 (4:40 am)
case "-mission":
            $argUsed[%i]++;
            if (%hasNextArg) {
               $missionArg = %nextArg;
               $argUsed[%i+1]++;
               %i++;
            }
            else
               error("Error: Missing Command Line argument. Usage: -mission <filename>");

yes
#2
01/25/2006 (4:44 am)
Thanks mincetro... but i was looking for a shortcut setup rather then a programming one...

im kinda learning porgramming as i go so its down the list of options...