Skip to content

Events and Network

Pheonix KageDesu edited this page Jan 13, 2020 · 4 revisions

⚠️ Check Video tutorial

Events Notes

  • LOCAL - Set only local movement mode to this Event

By default all events movements synchronize between all players

  • NET - Make this event Global

By default all events running for each player separately Global event runs in same time for all players

Events plugins commands

  • NET lock - block this event. Until the event is started by one player, the others can't start it.
  • NET only [N] - next event command will be run only for player N, where N - player number in party

Host (who started server) always player 1

Examples

NET only - only for game server
NET only 2 - only for player 2
NET only 2|3 - only for player 2 or 3
NET only 2 A - only for player with actor 2 (actor ID)
NET only 3|4 A - only for player with actor 2 or 3

  • NET except [N] - same that NET only but contrariwise

  • NET sync in ⚠️ Global event - stops the event and waits until other players are in this particular place of the event. Then the event continues.

  • NET sync - synchronize particular command line (next below NET sync) between all players. Depends on the event. Not works in Common Events.

  • NET virtual - same than NET sync for non-global simple events. Run same event command (next below 'NET virtual') for all players. Does not depend on the current event. Can be used in Common Events. Recommended for synchronization self switches, switches and variables.

  • NET setVariableSync ID - make variable with ID synced between all players
    When any player changed synced variable (Control Variables event command), it's automatically send changes to all players. When new player connect to the server, his automatically receive synced variable value There can be **many **synced variables

Example


See also, 📄 Event commands table

Clone this wiki locally