Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom function freezes the game.
Fearlessagent Offline
Junior Member

Posts: 12
Threads: 2
Joined: Jul 2012
Reputation: 1
#5
RE: Custom function freezes the game.

(07-07-2012, 05:57 AM)Your Computer Wrote: Infinite loops halt the game. The only time the script increments l is when it finds an underscore and if the previous if statement evaluates to false. With a syntax of ROOMNAME_ITEMNAME_TYPE, it is unlikely that either if statement would evaluate to true.
I kind of figured that's whats happening but I don't understand is why neither would evaluate to true. It would advance the character number regardless if the conditionals evaluated, until it hits an underscore. Then it would increase l by one and every letter after that would be appended to newString until it hits the last underscore. Thats the intention anyways, did I miss something?
07-07-2012, 06:07 AM
Find


Messages In This Thread
RE: Custom function freezes the game. - by Fearlessagent - 07-07-2012, 06:07 AM



Users browsing this thread: 1 Guest(s)