A_ChangeColorAbsolute

From SRB2 Wiki
Jump to: navigation, search

A_ChangeColorAbsolute is an action that changes the actor's skin color. If Var1 is set to any value besides 0, it will change to the color of its target. Otherwise, it will change to the color determined by Var2:

Var2 Name Color
0 SKINCOLOR_NONE None
1 SKINCOLOR_WHITE White
2 SKINCOLOR_SILVER Silver
3 SKINCOLOR_GREY Grey
4 SKINCOLOR_BLACK Black
5 SKINCOLOR_CYAN Cyan
6 SKINCOLOR_TEAL Teal
7 SKINCOLOR_STEELBLUE Steel Blue
8 SKINCOLOR_BLUE Blue
9 SKINCOLOR_PEACH Peach
10 SKINCOLOR_TAN Tan
11 SKINCOLOR_PINK Pink
12 SKINCOLOR_LAVENDER Lavender
Var2 Name Color
13 SKINCOLOR_PURPLE Purple
14 SKINCOLOR_ORANGE Orange
15 SKINCOLOR_ROSEWOOD Rosewood
16 SKINCOLOR_BEIGE Beige
17 SKINCOLOR_BROWN Brown
18 SKINCOLOR_RED Red
19 SKINCOLOR_DARKRED Dark Red
20 SKINCOLOR_NEONGREEN Neon Green
21 SKINCOLOR_GREEN Green
22 SKINCOLOR_ZIM Zim
23 SKINCOLOR_OLIVE Olive
24 SKINCOLOR_YELLOW Yellow
25 SKINCOLOR_GOLD Gold

  Actions – Property modifiers [view]
A_ChangeAngleAbsoluteA_ChangeAngleRelativeA_ChangeColorAbsoluteA_ChangeColorRelativeA_FindTargetA_FindTracerA_SetFuseA_SetObjectFlagsA_SetObjectFlags2A_SetRandomTicsA_SetReactionTimeA_SetScaleA_SetTics