Information: Why does every map need a script?
From PBnWModdingWIKI
- When you create a map and try to start it in B&W2, it will not finish loading. That is, unless you create a script to hide the loading screen!
- That may not make a whole lot of sense to you, but, think about it. The retail maps have challenges and other stuff on them. These are written in LionheadScript. Creatures need to be spawned and the enemy AI is ran by scripts. While B&W2 has finished loading and populating the map, it hasn't ran the script yet. So that's why the script control the loading screen. For example, when/if you decide to create a Pick-A-Creature island (much like Land1), you will need to spawn 4 or 5 different creatures.
- So, what you'd do is just spawn those five creatures BEFORE removing the loading screen! That way the user doesn't see the creatures 'pop' out of nowhere! Brilliant, eh? Well, unfortunately it also means that you will have to write a script that disables the loading screen. And that is tought here: Scripting Tutorial: Getting Started and here: Scripting Tutorial: Scripts