Skip to content

darwinrecreant/sansar-script-tutorials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sansar Script Tutorials

What are scripts in Sansar?

Scripts are writtin in C# and have access to Sansar api that allow scene builders to add extra functionality to an experience and it's visitors.

Every script can be configured through it's exposed script parameters. Scripts utilize an event system that allows them to communicate with each other, and therefore allow using them like modular building blocks by scene builders. This is comparable to Unreal Engine 4's blueprint system, just without the fancy visual node system.

The tutorials here will show how to use scripts and not how to write them.

Table of Contents

# Section
1 Intro to scripts
2 Sansar Script Library
3 Script Examples
3.1   Hello World
3.2   Door
3.3   Visitor Greeter
3.4   Flashlight
3.5   Elevator
3.6   Gun with physical bullets
4 Evo's Logic Scripts
4.1   Toggle
4.2   State Machine
4.3   User Groups
4.4   User Whitelist
4.5   Counter
4.6   Randomizer
4.7   Event Queue
4.8   Date/Time Events
4.9   Proximity Detector
5 Evo's Advanced Scripts
5.1   Advanced Dispenser
5.2   Advanced Keybindings
5.3   Keypad Script
5.4   Animation Set Player
5.5   Mover Waypoints / Pathfinder
5.6   Teleport Area
5.7   Set Properties
5.8   Slash Commands
5.9   Follower
6 Evo's Handy Scripts
6.1   Door Script
6.2   Item Spawn
6.3   Subtitles
6.4   Voting System
6.5   Visitor Tracker
7 Evo's Single Purpose Scripts
7.1   Fall of Doom Teleporter
7.2   Fall Damage
7.3   Experience Redirect
7.4   Footprints
7.5   Objective Marker

About

A series of tutorials that teach how to use scripts in Sansar. https://darwinrecreant.github.io/sansar-script-tutorials/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages