Welcome to the Builder Academy

Question Development Question

More
30 Sep 2014 06:57 #5075 by Liko
Development Question was created by Liko
Hello,
So I have a question. I want to make it so that a characters hair color is dependent on their hair length. Meaning a bald person can't pick a hair color and etc.

I have a rough Idea for how it would work, but I just want to hear your opinions.

I was thinking something like:
Code:
#define YES 1 #define NO 0 int hair_color[MAX_HAIR_LENGTH][type]; int_hair_color = { "adsad", "yes"};

*Note: I know the code block is probably wrong, but its 3 am, it is also the general idea that I am thinking could work.

Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

More
10 Oct 2014 05:42 #5081 by Liko
Replied by Liko on topic Development Question
Anyone?

Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

More
10 Oct 2014 12:44 #5082 by rudeboyrave
Replied by rudeboyrave on topic Development Question
you may be able to get some hints from the race/body parts code. just consider "hair color" as the "race" and give it sub-body parts which would be hair length?

CyberASSAULT
www.cyberassault.org
cyberassault.org 11111
A post-apocalyptic, sci-fi MUD.

Please Log in or Create an account to join the conversation.

More
14 Oct 2014 05:10 #5083 by Liko
Replied by Liko on topic Development Question

rudeboyrave wrote: you may be able to get some hints from the race/body parts code. just consider "hair color" as the "race" and give it sub-body parts which would be hair length?


I will post some updates.. I have some free time. I was extremely tired when I first posted this. I will let you know how this goes.

Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.173 seconds