MANUAL for GMnet ENGINE and GMnet CORE

mp_setType(group,type)

Description

Changes the type with which a group will be synced to the other clients.

More information: VarGroup SyncTypes (mp_type)

Example

///Create Event
mp_sync();
mp_addBuiltinPhysics("physics",10*room_speed);
mp_setType("physics",mp_type.SMART);

Arguments

Name type description
groupname string The name of the group of which you want to change the type of
interval real The values of the enum mp_type can be seen in htme_init or the manual.

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.