Color
From ActiveWiki
The color command assigns a new color to every polygon on an object.
Contents |
[edit] Usage
color color [name=name]
[edit] Description
[edit] Color
The color argument specifies the color to apply. The color can either be specified as one of many preset word values or as a "raw" hexadecimal value giving the red/green/blue component values (the same format as used for the "BGCOLOR=" tag in HTML).
| Preset | Code | Sample |
|---|---|---|
| aquamarine | 70DB93 | |
| black | 000000 | |
| blue | 0000FF | |
| brass | B5A642 | |
| bronze | 8C7853 | |
| brown | A62A2A | |
| copper | B87333 | |
| cyan | 00FFFF | |
| darkgrey | 00FFFF | |
| forestgreen | 238E23 | |
| gold | CD7F32 | |
| green | 00FF00 | |
| grey | 707070 | |
| lightgrey | C0C0C0 | |
| magenta | FF00FF | |
| maroon | 8E236B | |
| navyblue | 23238E | |
| orange | FF7F00 | |
| orangered | FF2400 | |
| orchid | DB70DB | |
| pink | FF6EC7 | |
| red | FF0000 | |
| salmon | 6F4242 | |
| scarlet | 8C1717 | |
| silver | E6E8FA | |
| skyblue | 3299CC | |
| tan | DB9370 | |
| teal | 007070 | |
| turquoise | ADEAEA | |
| violet | 4F2F4F | |
| white | FFFFFF | |
| yellow | FFFF00 |
[edit] Name
The optional name argument specifies the name of the object to color. Object names are assigned via the name command.
[edit] Examples
create color red
- Colors an object colored entirely red.
create color FF0000
- Same as above, using the hexadecimal value for red.
activate color name=water blue
- This creates an object which, when clicked on, changes the color of any objects nearby named "water" to blue.
[edit] External Links
- Preset Color Names Listing: SW City Builders Academy Article
|
|
|
|
Triggers: Create • Bump • Activate • Adone • Collide • Sdone • Enter Zone • Exit Zone Commands: Addforce • Addtorque • Animate • Astart • Astop • Camera • Collider • Colltag • Color • Corona • Envi • Examine • Frame • Group • Light • Link • Lock • Matfx • Media • Midi • Move • Name • Noise • Picture • Rotate • Say • Scale • Seq • Shadow • Sign • Solid • Sound • Tag • Teleport / Teleportx • Texture • URL • Velocity • Visible • Warp • Web |
|
