int aw_create (char* universe_domain, int universe_port, void** instance)

DESCRIPTION

Creates a bot instance associated with the specified universe server. If you desire to create several bots, call this multiple times, once for each instance of the bot.

CALLBACK

None (returns immediately)

NOTES

The universe_domain or universe_port may be specified as 0 to take the defaults of "auth.activeworlds.com" and 5670 respectively. The pointer to the instance pointer may also be specified as 0 if it is not desired.

The universe server must be running version 2.1 or later to accept connections from SDK applications. 

EXAMPLE

int		rc;

if (rc = aw_create (0, 0, 0))
  printf ("Unable to create a bot (reason %d)\n", rc);

SEE ALSO

aw_destroy
aw_login
aw_create_resolved