ID:170626
 
Im trying to make a system that shows for some of the items you can have multiple of in my game a suffix of its amount. I was looking around the hub and found a demo on it so looked at it. it used a infanite loop, is there a way to do this without one?
Lifehunter wrote:
Im trying to make a system that shows for some of the items you can have multiple of in my game a suffix of its amount. I was looking around the hub and found a demo on it so looked at it. it used a infanite loop, is there a way to do this without one?

Lifehunter, please elaborate and clarify. I have no idea what you're trying to say. When asking for help, you should be clear, specific, and informative.
Lifehunter wrote:
Im trying to make a system that shows for some of the items you can have multiple of in my game a suffix of its amount. I was looking around the hub and found a demo on it so looked at it. it used a infanite loop, is there a way to do this without one?


What I THINK he's trying to say guys is this:


Lifehunter SHOULD have wrote:
I am trying to program a system of item stacking. It allows you to have multiples of the same item and shows you the amount of that same item you have in it's suffix. I searched on the hub and found a demo. It used an infinite loop and I dont want that. Is there anyway else to do the system I want without infinite loops?


Glad I could be a help of translating.



-Doh

In response to Wizkidd0123
oh. I am sorry wiz, what im trying to say is that I want a way to add a suffix to a item in an inventory(say, an arrow?) of how many you have without using a infanit loop. and doh. if your not going to help and are just going to bug people why dont you just stop posting anything anywere
In response to Lifehunter
Bug people? I was just translating your first message so people CAN help. And it is my on my will to post or not so you cannot tell me not to.
In response to XxDohxX
well sence the only person replying is doh, and he isnt replying with a helpful response I will just use my own infanite loop.
In response to Lifehunter
Well I dont know exactly, but I am here to give you some advice.

  • Always be clear on what you want or whats the problem. Some people cant help with a clear idea of what you want. This is why I made my first post, I said your paragraph in other words, so someone could try to help.
  • Always use punctuation, complete sentences, and good grammar. (Though I know, sometimes its hard to remeber.)
  • You can always go to Chatters (By Xooxer) and ask for some help. Sometimes they wont help, sometimes they will. Depends who is there. If they dont help, then wait awhile on the forum and someone may help.


    Now since no one has replyed to your post yet, you can wait or go to Chatters for some help. Going to Chatters while waiting would be a good idea.


    Hopefully none of this sounded rude because I tryed to put it the best way I could without being rude.
    --Doh
In response to XxDohxX
No, actualy you are being helpful this time. Thank you and in fact im on chatters right now.
Which demo are you using that produced the infinite loop?

~X
In response to Xooxer
I think there is only one, its Buzzyboy's. His infinite loop though is useless. All you have to do, instead of updating the suffix every 1 tenth of a second, you could just update it once when the item is picked up and shouldnt have a problem.(Or update it whenever an item is fooled with.)
In response to XxDohxX
Yeah, that demo is kind of bad. >_>
It uses ==0 instead of ! and stuff.
In response to Hell Ramen
Well I think its the only one out there, for now. I might make a better one, without the infinite loop stuff and == operators.
In response to Lifehunter
Lifehunter wrote:
No, actualy you are being helpful this time. Thank you and in fact im on chatters right now.

http://www.developer.byond.com/hub/War