Author Topic: How do you load maps/builds via script?  (Read 762 times)

I think i want to do this in a new hide and seek server i am making. How do you do this?


http://forum.blockland.us/index.php?topic=192973.0

good resource and stuff
Wow you have been referencing that add-on in over 3 threads this week
Lots of demand eh?

I guess.
You might notice that it's not me starting the references, the other people are the ones asking about it.

It's really weird too: it only got downloaded 10 times, only twice in the last 3 days, yet apparently everyone is talking about it.
none of my other add-ons get referenced :(
« Last Edit: June 04, 2012, 02:51:20 PM by Lugnut1206 »


Put
MissionCleanup.ChainDeleteAll();changeMap(MAPNAME);
in script

where mapname is probably a one-word string

adjustableplate
slate
bedroom

where mapname is probably a one-word string

adjustableplate
slate
bedroom

for Bedroom, it's fileBase("Add-Ons/Map_Bedroom/bedroom.mis")

so yeah base filename of .mis file
« Last Edit: June 05, 2012, 02:33:03 PM by Port »

i was wondering what defined it

for Bedroom, it's fileBase("Add-Ons/Map_Bedroom/bedroom.bls")
so yeah base filename of .mis file
??



is port autistic

changemap(bedroom);

is port autistic

changemap(bedroom);

You aren't making sense. I was explaining how to get the name you pass as the first parameter to changeMap.

You aren't making sense. I was explaining how to get the name you pass as the first parameter to changeMap.
So what you want to tell us?