MANUAL for GMnet ENGINE and GMnet CORE
mp_addPosition(groupname,interval)
Adds a new group of variables to be synced to this instance.
The variables are:
///Create Event
mp_sync();
mp_addPosition("pos",10*room_speed);;
Name | type | description |
---|---|---|
groupname | string | The name of the group, this is only used locally to identify this group, for example if you want to use mp_setType |
interval | real | The interval in which the variable group get's synced with the other players |
Nothing
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.