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
#5
RE: String reference within constant name (Advanced)

Well, booleans only have 2 different values (0 = false, anything but 0 = true). What would these e and i placeholders be? I think I can work with the value of the boolean, but the script would be a lot simpler if I could modify the boolean name in the way I want.

Edit: I'm unsure if what I'm trying is even possible because C++ is mostly compile-time. Changing these things may not work on run-time.

I tried having a string with the same name as the boolean, but it's treated separately. The string returns true but the boolean does not recognize it.

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


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



Users browsing this thread: 1 Guest(s)