Where is the MISSION LIST populated?
by Nmuta Jones · in Torque Game Engine · 03/03/2010 (3:42 pm) · 1 replies
The Mission list appears to be an array of all the files located in "*/missions/*.mis".
I'm not sure, but I'm guessing its an array of all the files in that folder.
I am writing a custom script to only display certain missions based on certain conditional variables based on $pref::Player::Name
In ~\server\init.cs I see this
// Specify where the mission files are. $Server::MissionFileSpec = "*/missions/*.mis";
But I need to find the part where is says ("Ok, now here are where all the possible missions are.....ONLY DISPLAY these certain ones....")
Please advise ! Thanks.
About the author
Lead Developer for MediaBreeze Multimedia
Torque Owner Nmuta Jones
yep. that's it.