[ / / / / / / / / / ] [ dir / asmr / egy / fur / polk / pone ]

/agdg/ - Amateur Game Development General

AGDG - The Board

Catalog

Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Oekaki
Show oekaki applet
(replaces files and can be used instead)
Options
dicesidesmodifier
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, swf, pdf
Max filesize is 12 MB.
Max image dimensions are 10000 x 10000.
You may upload 5 per post.


Welcome to AGDG, have you ever made a game?
See also: /ideaguy/ | /vm/

File: 1456844398795.jpg (5.37 MB, 4320x2432, 135:76, IMG_20160301_095718517.jpg)

d4fc06 No.25778

Hey guys. I was on /v/ a while ago looking for help with my text-based slave game, Shackled. I decided to use Twine, and now I have an issue.

I'm trying to set it in Twine 1.4.2 so that each body part has a value, and with that value -which can rise and fall-, has a word of description attached to it.

However, whenever I try and recall the description word, it gives me only the biggest.

Pic related is my code with issues. I have a character with a $ThighSizeVal of 25, but then $ThighSize keeps printing as "huge", not "gapped". Help?

876132 No.25784

Did you just upload a a photo of your screen taken with your phone?

Anyways, I don't use twine but it looks like your not used to programming, you're probably not using the syntax correctly. I doubt whatever language that is doesn't have a "less than" symbol and not using "elseif" is just bad practice.

As for debugging your code, a lot of the process is just printing out values and making sure they're in line with what you expect. You'll probably see what's going on if you print $ThighSizeVal inside each if statement.




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / ] [ dir / asmr / egy / fur / polk / pone ]