Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Map Detection
« previous
next »
Print
Pages: [
1
]
Author
Topic: Map Detection (Read 621 times)
Irk89
February 25, 2008, 05:50:46 PM
Is there already a way to detect what map is currently being run by calling a function or variable? Otherwise, is there a some way I can slip a variable into a map so it's only created when this map is running?
Ad Bot
Advertisement
rkynick
February 25, 2008, 06:03:31 PM
This was answered about 5 topics down.
Randy
February 25, 2008, 06:06:48 PM
To get the name of the mission rather than the file path, you can do:
Code:
[Select]
echo(MissionInfo.name);
Trader
February 25, 2008, 06:11:37 PM
Yeah, I agree with Randy. Much better to use map name than .mis filename.
Irk89
February 25, 2008, 07:09:21 PM
That's what I was going for. I guess I should have looked closer and asked the question in that thread. Sorry
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Map Detection