APPLYING ACTIONS using the NAME action

In ActiveWorlds, it is possible to apply an action to an object by touching or clicking on a different object. Firstly, the name action must be introduced. Basically, by typing in create name ______ where the blank is some word, you cause the object to be associated with a name. You can associate the same name to many objects. What this does is assigns a name to the objects so the computer knows later to apply actions to the objects you want.

Now that you've made names, you can apply the actions. Below, I've created two objects, one which is a sign and another which is a panel.

I wrote create name wall for the panel and create sign "<-------- Turn this red by clicking me"; activate color name=wall red for the sign. What did I really do?

Well, first I called the panel a wall. Then I wrote the create sign " " to display some text onto the object (see signs). Finally, I wrote activate color name=wall red. Activate means that it will run the function when you click on it. Color means what type of action will be applied. Name=wall means apply it onto all objects called wall. As you probably have guessed, by clicking on the sign, the wall will turn red, like below. You can also see a video of this by going here.

Thus, to make an action occur to another object, you should enter the code trigger action name=name specifics where trigger is activate or bump, action is color, move, sound, etc, name is the name you give your target object and specifics are the parameters you add to an action.

Note: not all actions can be implemented using this method. Try them out and see what results you get!
 

Go back to main screen