Skip to content

Actions & Multiplayer

Mackenzie McClane edited this page Feb 6, 2020 · 1 revision

Wayward's "action" system handles all actions players can perform.

(todo)

Multiplayer

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

Mod Content

Script Documentation

(apologies for all the missing guides, we'll get to them at some point)

Clone this wiki locally