Skip to content

How setup Multiplayer GM (Beta)

Pheonix KageDesu edited this page Dec 18, 2018 · 2 revisions

⚠️ This manual only for Alpha NET v0.7.900

Plugin Settings

  1. Go to Alpha NET plugin parameters
  2. Select Multiplayer Game Mode
  3. Set Common Event ID for PvP battle end (optional)

PvP Battle

For starting PvP two players need to be facing each other, then someone press Enter or Mouse Click on another

When battle ends, Common Event will be called (if you set it in plugin parameters)
⚠️ Common Event called only for players clients who been battle participants

For determining after battle results use condition with script call
uAPI.isPvPWin - return true, if this player wins battle
uAPI.isPvPLoose - return true if this player loose battle

Battlers (Actors) Images in Battle

Image must be in 📂 img/enemies
Name is Actor Character image name + character index
like Actor1_1 for Harold

⚠️ By default in standard MV resources not images for all Actors!

Global Events

⚠️ In multiplayer game mode Global events works like simple events ⚠️

Variables and Switches synchronization

Players can be on different maps, therefore use NET virtual command instead NET sync for changes variables (or switches), which you want synchronize between all. NET sync works too, but NET virtual more strong, because not depends on map.