User Tools

Site Tools


scripting:samples

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scripting:samples [2014/06/07 18:15] mitscripting:samples [2025/05/28 16:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ==== Script Samples ==== ==== Script Samples ====
-<note tip> +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 find lots of handy examples of the scripting language and some of the server system functions in the [scripting:reference:system_functions|reference documentation]</note>.+
  
-Some more larger samples will appear here eventually:+<note tip> 
 +You can also find lots of examples of the scripting language functions in the [[scripting:reference:system_functions|reference documentation]]</note>.
  
 === Simple Samples === === Simple Samples ===
  
-- [[Scripting:Samples:SimpleSample|Simple script Sample]]+- [[Scripting:Samples:SimpleAxe|Simple Bronze Axe Sample]]
  
-=== Scripted Building Samples ===+=== Simple Building Samples ===
  
 - [[Scripting:Samples:BasicBuilding|Basic 'Gather Item' building]] - [[Scripting:Samples:BasicBuilding|Basic 'Gather Item' building]]
scripting/samples.1402164902.txt.gz · Last modified: (external edit)