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 Bronze Axe Sample
- Task System Example

Building Samples

- Basic 'Gather Item' building
- Data-driven building construction screens
- Building Proximity Event
- Simple School Script
- Generic School Script (Complex) (Used on Lovelace)

OSD Samples

OSD Value controls

Minigame/event Samples

- Scripted Hiscore Table
- Automatic Crow Tournament
- Scripted Race Event & Notifications

Subgame Samples

- Simple subgame setup
- Team combat subgame setup

Cutscene Samples

- A simple cutscene
- Genesis end-of-the-world Cutscene

Whole World Samples

- Drone Training annotated
- Lovelace full scripts