Hi, i am not really good with Lua yet but i have been working with it ok and have been coding various OpenGL things fine. If i just set and get variables through mmf events things work fine but one thing i cannot seem to get running though is making comparisons within the actual lua code.
For example i try this code -
and it highlights the text like it recognizes but after i have set the "test" string to "working" at start of frame and call the "Go" function when i try to receive the "works" variable it will return nothing. So i am fairly sure i am doing something wrong so i am hoping someone can explain how to do this correctly and also for floats as this would help a lot, thanksCode:function Go() if string "test" = "working" then string "works" = "it works" else string "works" = "it does not work" end end