Misc Examples
-
ChatAnimate
Listens for a chat command indicating the animation to run, and then animates the avatar who chatted the command.
This model shows how two components can be combined into a new model.
USAGE:
Listens for the chat command: run anAnimation
- anAnimation: Indicates the animation to run. The avatar who chatted the command is then animated.Download Model (MiceOnABeam v1.0.3)
-
SetAvatar
Allows you to chat commands to do the following for an avatar:
- Set floating text;
- Turn/off on a face light;
- Attach/Detach a prim containing this script;
- Show the hidden prim;
- Run the specified animation;
- List the available commands.See the SetAvatar state's comment for full details.
Download Model (MiceOnABeam v1.0.3)
-
TimedActivity
Shows how a model can be subject to an overall timeout constraint.
The model subject to the timeout should be constructed within the state TimedActivity (replacing the state Activity). Configure the TimedActivity state to set the timeout.
Download Model (MiceOnABeam v1.0.3)
-
TimedActivityCoundown
Shows how a model can be subject to an overall timeout constraint.
The model subject to the timeout should be constructed within the state TimedActivity (replacing the state Activity). Configure the state TimedActivity state to set timing properties.
In this example the Activity state consists of three substates which sequence between each other on receiving a touch_end event. The timer is set up as a periodic timeout so that the time left can be displayed.Download Model (MiceOnABeam v1.0.3)
