This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's TI-BASIC subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. TI-Basic => TI-BASIC
Author Message
tonacus


Newbie


Joined: 20 Jul 2009
Posts: 1

Posted: 20 Jul 2009 10:06:48 pm    Post subject:

I'm in the process of creating a fight program, where you enter variables for accuracy, weapon skill, and enemy skill, and when you do, it's supposed to calculate whether you get a grazing shot, a leg shot, an arm shot, a torso shot, a critical torso shot, or a head shot. but i cant get it to move past the grazing shot. this is simply a text based battle engine

Last edited by Guest on 20 Jul 2009 10:09:21 pm; edited 1 time in total
Back to top
Flofloflo


Member


Joined: 07 Nov 2007
Posts: 120

Posted: 21 Jul 2009 07:29:06 am    Post subject:

Well, you'd have to post some code so people can see what's going wrong.

How do you work? With labels?
Also, it's sometimes useful to put pause commands here and there, along with output commands to see how your code affects important variables. That way you can sometimes find the error.

But if you want people to help you you might just add the code.
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement