Introduction | Heaton Research

Introduction

  • What is a state machine?
  • State machines in Second Life
  • Using state machines
  • Programming with and without state machines

    The concept of a state machine Mark Biss2007-12-12T00:00:00This seems the best so have made it lower caseis not unique to Second Life. State machines are a common programming paradigm. However, no language makes the concept of a state machine as integral as does the Linden Scripting Language. Most of the scripts in this book will be implemented as state machines.

    This chapter begins by introducing the concept of a state machine. State machines will be introduced independent of Second Life. Next, this chapter will explain how Second Life implements state machines. Finally, this chapter will conclude by showing how to implement a script both with, and without, state machines.

Copyright 2005-2008 by Heaton Research, Inc.