Is there a possible way to make a more advanced system of changing the color of something, other than the most basic...?
var/r = input("How much red?","Hair Color") as num
var/g = input("How much green?","Hair Color") as num
var/b = input("How much blue?","Hair Color") as num
ID:273553
![]() Aug 8 2010, 2:09 pm
|
|
How would I implement that with this code?
Dye_Hair() set src in view(1) set name = "Dye Hair" usr<<"Hair Stylist: Hey there, ever thought about changing the color of your hair?" sleep(15) switch(input("Would you like to dye your hair?", "Hair") in list("Yes", "No")) if("Yes") var/r = input("How much red?","Hair Color") as num var/g = input("How much green?","Hair Color") as num var/b = input("How much blue?","Hair Color") as num usr.overlays -= usr.hairstyle usr.hairstyle += rgb(r,g,b) usr.overlays += usr.hairstyle if("No") return |
Ryu-Kazuki wrote:
How would I implement that with this code? Please use <*dm> tags for codes, it makes it much more readable.(<*dm> code here<*/dm>, remove *'s. As for your question. Dye_Hair() This was made quickly, if you have any problems, just tell me. |
If you'd like you could use the interface color input. I find this the best way to change an icons color: