thehankinator Posted February 26, 2016 Share Posted February 26, 2016 System:Print("Hit this code") When you have the script window open, the print gets spit out in a tab on the right. 1 Quote Link to comment Share on other sites More sharing options...
Sargeant12344 Posted February 29, 2016 Author Share Posted February 29, 2016 I know this is a very basic issue, apologies but whenever I place the code I want checked in the Speechmarks it comes up with this: unfinished string near '"if reached_goal then' System:Print("if reached_goal then self.reachedGoal = true end") Quote Link to comment Share on other sites More sharing options...
thehankinator Posted February 29, 2016 Share Posted February 29, 2016 I know this is a very basic issue, apologies but whenever I place the code I want checked in the Speechmarks it comes up with this: unfinished string near '"if reached_goal then' System:Print("if reached_goal then self.reachedGoal = true end") I think what you are trying to do would be something like this: if reached_goal then System:Print("Hit this code") self.reachedGoal = true end Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.