User Tools

Site Tools


scripting:samples

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

Building Samples

OSD Samples

Minigame/event Samples

Subgame Samples

Cutscene Samples

Whole World Samples

scripting/samples.txt · Last modified: 2023/07/12 14:50 by mit

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki