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
Script Help String reference within constant name (Advanced)
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#3
RE: String reference within constant name (Advanced)

Well, since the different booleans don't just change at the last number, that won't make much of a difference. I have booleans named x1y1, x2y1, x3y1 as well as x4y1, x4y2, x4y3. Both numbers vary.

If this was a string, I could've done something like
"x" + i + "y" + j
to manipulate both numbers easily. Perhaps I just need to convert that string into the name of the boolean.

(This post was last modified: 03-09-2014, 02:14 AM by Mudbill.)
03-09-2014, 02:12 AM
Find


Messages In This Thread
RE: String reference within constant name (Advanced) - by Mudbill - 03-09-2014, 02:12 AM



Users browsing this thread: 2 Guest(s)