MANUAL for GMnet ENGINE and GMnet CORE

mp_unsync()

Description

Removes an instance from the engine and

  • if not local: destroys it [DO NOT USE IT ON REMOTE INSTANCES!]
  • if local: informs server which then informs all players.

Does NOT destroy local instances! You have to do that yourself when calling this manually!

Example

///Step
if (somethinghappend && htme_isLocal()) {
    mp_unsync();
    instance_destroy();
}

Arguments

None

Returns

Nothing


Back to index.


Creative Commons License

All pages in this manual are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Manuals / GMnet ENGINE Manual

GameMaker: Studio is owned by YoYoGames. GMnet is not affiliated with YoYoGames.
The GMnet logos use icons from Entypo (http://entypo.com/) and Open Iconic (https://useiconic.com/open/). They are licensed under CC BY-SA 4.0.