-
I'm selling these fine leather jackets
You're setting yourself up for a lot of writing this way. I suggest a loop where you generalize most of the writing and use a list that holds most of the different things.
I only know python script, so bear with me.
Like:
character = [] #list of attributes of character
count=character.count() #amount of attributes
for x in range(0, count):
n = attrlist.index(x) #searches attr in a list
m = ['initMale', 'n']
attr = "".join(m)
if (gender.equals("male")) {
setEnd(attr + lvl * lvlUpStat);
Etc etc, you get my drift. As my programming teacher used to say: "If it takes up more than a page of coding, (redo it) make it shorter with smart programming.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules