galaxy-triggers-and-functions

Community

Streamline Galaxy triggers and async workflows.

AuthorKimPlaybit
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Galaxy scripting for SC2 maps often suffers from verbose trigger declarations, scattered event registrations, and tangled async logic. This Skill consolidates best practices for declaring triggers, registering events, and executing asynchronous code through TriggerExecute, including the static parameter pattern for functions that use Wait, as well as cinematic sequencing and common event types.

Core Features & Use Cases

  • Trigger declaration & init patterns: standardize how triggers are created, named, and hooked to events.
  • Async execution & concurrency: guidance on Wait-based threads and safely passing parameters via the static-param pattern.
  • Cinematic sequencing & common events: templates for queues, time-based events, and UI/game events.

Quick Start

Create a simple trigger that prints a message when the map initializes using the standard TriggerCreate and TriggerAddEvent pattern.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: galaxy-triggers-and-functions
Download link: https://github.com/KimPlaybit/Starcraft-2-Editor-Skills/archive/main.zip#galaxy-triggers-and-functions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.