|
Tag Argument |
Description
When used with a command that supports it, the tag argument specifies the numeric tag of the surfaces to be effected by that command.
Note that using tags will not allow the simultaneous application of different textures to different polygons on the same object using more than one of the same command. Only one texture command can be in effect at a time on a single object, and only one animate command can be in effect at a time on a single object.
It is possible to use an animate command and a texture command on the same object to effect different surfaces. If the object has only a single tag value on one or more of it's surfaces and no tag value on the remaining surfaces, the animate command may be used without a tag parameter to paint all surfaces of the object and then the texture command may be used with a tag parameter to repaint the tagged surfaces.
The sign command functions as if it has an implied tag=100 and the picture command functions as it has an implied tag=200 built in. These commands may also be used in combination with the animate and texture commands to apply different effects to different surfaces on an object with tagged surfaces to support them, provided the commands don't interfere with each other.
Examples
create animate me psy 1 1 0, texture water1 tag=100
create sign "Warning!" color=red bcolor=yellow
create texture brick tag=100
create picture www.activeworlds.com/images/awb.jpg
create animate tag=200 me turn 5 5 0, astop; activate frame +1
activate texture brick tag=200 name=wall
create animate tag=300 mask me jump 5 5 100
create texture flame1 mask=flame1m tag=300
create name jumper1, animate tag=400 me jump 5 5 100 1 3 5 3 1
create texture brick1 tag=500; activate texture brick1 mask=tport_swirlm tag=500
create animate tag=96 mask me tree 9 9 10000, astart; adone astart jumper1, astart