-
Notifications
You must be signed in to change notification settings - Fork 1
Actions & Multiplayer
Wayward's "action" system handles all actions players can perform.
(todo)
The action system is powerful enough that this is not its only use — you can also use this system to execute the same code on both clients and servers.
For example, say your mod provides a UI, and a player presses a button in it. You want that button to spawn a bunch of zombies around them, but this will have to happen on both the client's side and the server's side. Therefore, rather than just spawning them in the button's event handler, you would have an action registered that is specifically for spawning these zombies, and you would execute that action from the event handler instead.
(todo)
Getting Started
- Introduction
- Prerequisites
+mod create
&+mod update
- mod.json
- Extracting Assets
- Resources & Examples
- Frequently Asked Questions
Mod Content
Script Documentation
- Using Translations
- Registrations
- Event Handlers
- Injection
- Adding Items
- Adding Doodads
- Adding Creatures
- Adding Magical Properties
- Actions & Multiplayer
- Adding Dialogs
- Context Menu/Action Bar Actions
- Inter-mod Registries
(apologies for all the missing guides, we'll get to them at some point)