int aw_bool_set (AW_ATTRIBUTE a, int value)


aw_bool_set sets a boolean attribute. Set value to 1 to indicate TRUE, 0 to indicate FALSE.

Example

/* disable flying in the current world */
aw_bool_set (AW_WORLD_ALLOW_FLYING, 0);
if (rc = aw_world_attributes_change ())
  printf ("Unable to change world attributes (reason %d)\n", rc);

SEE ALSO

aw_bool
aw_int
aw_int_set
aw_string
aw_string_set



Active Worlds™ is a trademark of Activeworlds Inc. Questions or problems regarding this product should be posted to the newsgroup news://news.activeworlds.com/sdk. Problems with this web page should be reported to the author.

Copyright © 1998-2008 Activeworlds Inc. All rights reserved.