Einsteinium 2 Share Posted December 10, 2018 Oh move the tree.interact inside the body of the if statement. Link to comment Share on other sites More sharing options...
Moefie 0 Author Share Posted December 10, 2018 Doesn't work either ;s Link to comment Share on other sites More sharing options...
Einsteinium 2 Share Posted December 10, 2018 Take it out of the conditional completely, if (tree != null){ tree.interact("Chop down"); } What you are checking for will only be true if the player is already chopping a tree. Link to comment Share on other sites More sharing options...
Nuclear Nezz 2055 Share Posted December 10, 2018 ...I think 90% of what Einsteinium is telling you is wrong. Let's start at the beginning. When you start the script, does it log "hi" Do you have a script manifest above your main class line? How are you running your script? Link to comment Share on other sites More sharing options...
Einsteinium 2 Share Posted December 10, 2018 4 minutes ago, Nuclear Nezz said: ...I think 90% of what Einsteinium is telling you is wrong. Let's start at the beginning. When you start the script, does it log "hi" Do you have a script manifest above your main class line? How are you running your script? 90% is a bit of an overstatement, everything I have told him to fix is something that would cause his script to not run. He has previously stated he has a manifest up. Link to comment Share on other sites More sharing options...
Moefie 0 Author Share Posted December 10, 2018 It works now! Thank you guys! Especially Einsteinium Cheers Link to comment Share on other sites More sharing options...
Einsteinium 2 Share Posted December 10, 2018 1 minute ago, Moefie said: It works now! Thank you guys! Especially Einsteinium Cheers Glad 10% of what I was saying made sense to you, lol. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.