Color

From ActiveWiki
Jump to navigation Jump to search
Color
Build

N/A

Version

N/A

create color red applied to the lower sphere object.
Color tints applied to birds from left to right: none, maroon, green

The color command assigns a new color to every polygon on an object.

Usage

color color [tint] [name=name]

color

The color argument specifies a color type value to apply.

tint

Added in build 1167

The optional tint argument can only be used in conjunction with a textured or pictured object, and tints the object to the specified color.

name

The optional name argument specifies the name of the object to color. Object names are assigned via the name command.

Notes

  • A colored object cannot have a texture effect applied to it unless the tint flag is used.

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.

create texture brick1, color tint blue

This creates an object with the brick1 texture, which has been tinted blue.

External links

Object Scripting

Triggers: CreateBumpActivateAdoneAtCollideSdoneEnter ZoneExit Zone

Commands: AddforceAddtorqueAlpharefAnimateAstartAstopCameraColliderColltagColorCoronaEnviExamineFrameGroupLightLinkLockMatfxMediaMidiMoveNameNoiseOpacityPictureRotateSayScale SeqShadowShearSignSkewSkyboxSolidSoundTagTeleport / TeleportxTextureTimerURLVelocityVisibleWarpWeb nl:Commando:Color