GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - McTwist/Support_EventScript: Blockland Add-On: Adding the possibility to event through scripts.

This repository was archived by the owner on Jun 27, 2025. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

45 Commits
45 Commits

Folders and files

NameName
Last commit message
Last commit date
EventScriptEditorProfiles.cs
EventScriptEditorProfiles.cs
 
 
EventScriptEditorWindow.gui
EventScriptEditorWindow.gui
 
 
GuiPopUpMenuCtrl.cs
GuiPopUpMenuCtrl.cs
 
 
README.md
README.md
 
 
bind.cs
bind.cs
 
 
client.cs
client.cs
 
 
description.txt
description.txt
 
 
script.cs
script.cs
 
 
server.cs
server.cs
 
 
workarounds.cs
workarounds.cs
 
 

Repository files navigation

Support - EventScript

Tackle the event system with the power of scripting

Description

The problems with the current eventing system in Blockland is that is quite hard to share them and it gets quite cluttered when quite huge. You either need to use the Duplicator, save the build and send the file or manually copying it.

This mod will ease this issue by introducing a new scripting language called EventScript. This language is designed to make sharing easy and eventing understandable. It will also standardize the way to express events through text.

Examples

# Author: Platypi / SadBlobfish
# Makes a brick change colors on a loop when toggled

# Start color changing (start with events enabled)
start:
[x][0]onActivate->Self->playSound("Beep_Checkout.wav")
[x][33]onActivate->Self->fireRelay

# Stop color changing (start with events disabled)
[ ][0]onActivate->Self->playSound("Beep_Denied.wav")
end:
[ ][0]onActivate->Self->cancelEvents

# Alternate between starting and stopping color changing
[x][0]onActivate->Self->toggleEventEnabled([start:end])

# Change colors
[x][0]onRelay->Self->setColor("0.898039 0.000000 0.000000 1.000000")
[x][500]onRelay->Self->setColor("0.898039 0.898039 0.000000 1.000000")
[x][1000]onRelay->Self->setColor("0.000000 0.498039 0.247059 1.000000")
[x][1500]onRelay->Self->setColor("0.200000 0.000000 0.800000 1.000000")

# Loop color changing
[2000]onRelay->Self->fireRelay

# Stop color changing when brick is blown up
onBlownUp->Self->cancelEvents

Installation

Put Support_EventScript.zip into the Add-Ons folder in your Blockland folder.

About

Blockland Add-On: Adding the possibility to event through scripts.

Topics

add-onsblocklandmodstorquescript

Resources

Readme
Activity

Stars

5 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.