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 [2012/09/23 23:43] mitscripting:samples [2025/05/28 16:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ==== Script 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.
  
-Here's some random script samples as an when they appear:+<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 === 
 + 
 +- [[Scripting:Samples:SimpleAxe|Simple Bronze Axe Sample]] 
 + 
 +=== Simple Building Samples === 
 + 
 +- [[Scripting:Samples:BasicBuilding|Basic 'Gather Item' building]] 
 + 
 +=== Event Samples ===
  
 - [[Scripting:Samples:CrowTourney|Automatic Crow Tournament]] - [[Scripting:Samples:CrowTourney|Automatic Crow Tournament]]
 +
 +=== Cutscene Samples ===
 +
 +- [[Scripting:Samples:SimpleCutscene|A simple cutscene]] \\
 +- [[Scripting:Samples:GenesisCutscene|Genesis end-of-the-world Cutscene]] \\
 +
  
  
    
scripting/samples.1348443820.txt.gz · Last modified: (external edit)