Juliena Posted May 19, 2016 Share Posted May 19, 2016 So!Vectors, shouldn't really be having an issue with this and yet I am. Fiddled around and came to no success, so I'm here to see if anyone understand why my script keeps yelling Syntax error at me. I'm quite befuddled. In short vector size = <0.1, 0.1, 10.0>;float variable = size.z; Here this should return the value "10.0" under the float "variable", correct? At least, that's what I'm reading via the wiki for Vectors. Is this out of date, or are my scripts just acting up or something, because I'm very confused right now.Any help would be appreciated! Link to comment Share on other sites More sharing options...
mikka Luik Posted May 19, 2016 Share Posted May 19, 2016 Hard to tell without more details, but first off where are you declaring these? Link to comment Share on other sites More sharing options...
Juliena Posted May 19, 2016 Author Share Posted May 19, 2016 You've actually solved my issue just like that I was trying to use it before the initate state, evidentally that does not work. Moved it down into a touch_start and no more problems. So thank you! =P Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now