Play Instance

From HEWIKI
Jump to: navigation, search
Bottom righthand corner of the viewport, showing the Area name and Instance number you are in.

A Play Instance is the version of an area in which players will actually play the game. Its configuration is determined by the state of the Edit Instance of that Area.

The difference between the Edit Instance and a Play Instance of an Area, is that in a Play Instance no changes to instances, area settings or anything else are persisted to the database.

There can be any number of Play Instances of an Area running (limited by your hardware cluster resources). Each is an independent copy. Anything can change in the Play Instance, but no changes to the area will be saved to the database.

How Play Instances are managed is controlled via HSL (see: Using $WORLD to Spin Up an Area). So you can have common areas, or instanced dungeons, or any other scheme that makes sense for your game design.

All actual gameplay takes place in Play Instances of Areas. Any changes to the area that you want to persist, have to be coded to do so in HSL. The State System can be very helpful in this.

To tell if you are in a Play Instance or not, look in the lower righthand corner of the screen to see if it has a number indicating a play instance, or the word "(EDIT)", indicating an Edit Instance.


Play Instance Alerts

Any edits made to a Play instance will cause an Alert box to show up to remind the user that their edits will not persist. Additional Alerts can be suppressed by checking the "Suppress further alerts" checkbox and accepting the "Confirm Skip Alerts" confirmation. Play instance edit alerts will only be suppressed for the current Play instance. After traveling to a new Play instance, Play instance edit alerts will have to be suppressed again.


Play instance edit alert box

Confirmation of Play instance edit alert suppression


See also


A play instance will have the instance number in parentheses next to it.
Playinstance.png


An edit instance will say (EDIT) next to it.
EditInstance.png

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox