Scripting Fundamentals
Master the core concepts of OasisW scripting. Whether you're using modern ESM scripts or classic scripts, these fundamentals apply to all OasisW development.
Essential Concepts
Getting Started
Learn the basic structure and syntax of OasisW scripts. Understand how scripts work, their lifecycle, and how to attach them to entities.
Script Lifecycle
Understand when and how script methods are called - from initialization through updates to cleanup.
Script Attributes
Expose configurable properties that can be tweaked in the editor or set programmatically.
Calling the Engine API
Learn the key OasisW Engine classes and patterns you'll use when writing scripts.
Events
Learn how scripts communicate with each other and respond to changes in your application.