Default Action [repost] (Wishlist)

Default Action [repost] // Wishlist

1  |  

technozeus

May 19, 2003, 3:45pm
On October 6th, 2002, I posted a message entitled "idea -- Default Action" to the beta newsgroup. Here is a quote of that post...

<qoute>

If a simple RWX extension was made to allow an object to have a built in "default Action" then it would be simple for object designers to make doors that open when clicked or bumped, and stuff like that... so that it would be easier for people building to make such things, and also so that we could have stuff like opening doors available even without access to the "Special commands" thereby allowing a world owner to have their worl set up with limited and controlled access to such functionality rather than simply turning it completely off.

Example...
#----
ModelBegin
Action activate rotate -5 time=3 wait=9 reset
ClumpBegin
Texturemodes Foreshorten Lit
Surface .5 .3 .1
Color 1 1 1
Vertex 0 .2 0 UV 0 0
Vertex 0 0 0 UV 0 1
Vertex .1 0 0 UV 1 1
Vertex .1 .2 0 UV 1 0
Texture wood4
Quad 1 2 3 4 Tag 200
Texture metal1
Quad 4 3 2 1 Tag 200
ClumpEnd
ModelEnd
#----

Of course, any action explicitly placed in the Action field would simply replace the default action, leaving all objects' actions as customizable as ever.

TechnoZeus

</quote>

More recently, the old idea of having a way to attach a light to an avatar has come up again, so I'm re-posting the Default Action idea because it could be used to facilitate that old idea as well.

Do show what I mean, here is the same object I used in my previous example, but changed so that it would display shine a light in a version of Active Worlds where Default Actions are supported...

Revised example...
#----
ModelBegin
#! Action light brightness=3
ClumpBegin
Texturemodes Foreshorten Lit
Surface .5 .3 .1
Color 1 1 1
Vertex 0 .2 0 UV 0 0
Vertex 0 0 0 UV 0 1
Vertex .1 0 0 UV 1 1
Vertex .1 .2 0 UV 1 0
Texture wood4
Quad 1 2 3 4 Tag 200
Texture metal1
Quad 4 3 2 1 Tag 200
ClumpEnd
ModelEnd
#----

Notice that it would be easy to set up the light as a pulsating point source, or a rotating spot source, or as a spot light shining toward the ground just in front of the object or avatar, simply by using the same command format that Active Worlds already recognizes.

TechnoZeus

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2021. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn