scripting:samples
This is an old revision of the document!
Table of Contents
Script Samples
Possibly the best place to find script samples is to create a local world, pick one of the templates provided then examine the scripts that make up the template. (You can look at the scripts in the F10 → Script Editor in game, or browse to your LocalWorlds folder which will be in C:\Users\[UserName]\AppData\Local\Games For May\The Universal\ by default). By editing those template scripts and reloading them while in game (press F11 or use *reloadscript) you can immediately see how changes affect your world.
You can also find lots of examples of the scripting language functions in the reference documentation
.
Simple Samples
Simple Building Samples
OSD Samples
Minigame/event Samples
Subgame Samples
Cutscene Samples
Whole World Samples
scripting/samples.1581546046.txt.gz · Last modified: 2020/02/12 16:20 by mit