int aw_server_world_set (int id)

DESCRIPTION

Sets the current world that subsequent methods will refer to.

CALLBACK

AW_CALLBACK_ADMIN_WORLD_RESULT

NOTES

This method is new in Active Worlds 3.1 and requires at least SDK build 18 and world server build 28. 

This is an administration mode method and can only be used by instances created with aw_server_admin.

aw_server_world_set sets the current world to id for this administration mode instance.  This is necessary if the application is going to call one of several non-admin methods, including:

aw_cell_next
aw_delete_all_objects
aw_object_add
aw_object_change
aw_object_delete
aw_object_load
aw_query
aw_world_reload_registry
aw_world_attributes_change
aw_world_attributes_reset

EXAMPLE

See aw_server_world_delete for an example

SEE ALSO

aw_server_admin
aw_server_world_add
aw_server_world_change
aw_server_world_delete
aw_server_world_list
aw_server_world_start
aw_server_world_stop