Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var attribColor: params
- if (_attrib == "damage")
- attribColor.r := 225
- attribColor.g := 64
- attribColor.b := 108
- else if (_attrib == "accuracy")
- attribColor.r := 139
- attribColor.g := 255
- attribColor.b := 90
- else if (_attrib == "rof")
- attribColor.r := 223
- attribColor.g := 146
- attribColor.b := 40
- else if (_attrib == "ammo")
- attribColor.r := 85
- attribColor.g := 177
- attribColor.b := 250
- else if (_attrib == "range")
- attribColor.r := 213
- attribColor.g := 126
- attribColor.b := 255
- else if (_attrib == "power")
- attribColor.r := 255
- attribColor.g := 255
- attribColor.b := 21
- else
- attribColor.r := 81 //128
- attribColor.g := 156 //128
- attribColor.b := 221 //128
- end
- attribColor.a := 255
- attribColor.v := 255
- return attribColor
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement