jmr11b
|
  |
| Joined: 19 Aug 2010 |
| Total Posts: 806 |
|
|
| 29 Sep 2012 05:30 PM |
I have built a pickaxe tool, and in Build Mode it works perfectly, well as perfectly as its supposed to at the moment.
But then when I play on Play mode just normally you know, the Gun Cursor thing dosn't even load for it! I don't know whats wrong... any ideas? |
|
|
| Report Abuse |
|
|
jmr11b
|
  |
| Joined: 19 Aug 2010 |
| Total Posts: 806 |
|
| |
|
jmr11b
|
  |
| Joined: 19 Aug 2010 |
| Total Posts: 806 |
|
|
| 29 Sep 2012 05:33 PM |
| I'll try edit -> play solo. Maybe that will give me some feedback on an error... |
|
|
| Report Abuse |
|
|
FireTG
|
  |
| Joined: 28 Oct 2010 |
| Total Posts: 291 |
|
|
| 29 Sep 2012 05:36 PM |
| You are using regular scripts where you should use localscripts. In solo mode, the client is the server so that is not a problem, but online it will not function properly. |
|
|
| Report Abuse |
|
|
jmr11b
|
  |
| Joined: 19 Aug 2010 |
| Total Posts: 806 |
|
|
| 29 Sep 2012 05:38 PM |
| Hmm I have never fully understood the difference. Thank you for the feedback I am trying it right now to see if that is my issue! |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 29 Sep 2012 05:40 PM |
| It also can be something to do with magnitude sometimes, like some auto-doors i see work only in play solo |
|
|
| Report Abuse |
|
|
jmr11b
|
  |
| Joined: 19 Aug 2010 |
| Total Posts: 806 |
|
|
| 29 Sep 2012 05:43 PM |
| Heh... Ok now its sorta working in play mode, but it is doing other things that didn't happen in build mode, new errors... I can try to fix them. Well when the animation begins, you know the character swings his arms, the pickaxe is falling out, then when its done the legs and arms are falling off. Lol |
|
|
| Report Abuse |
|
|
FireTG
|
  |
| Joined: 28 Oct 2010 |
| Total Posts: 291 |
|
|
| 29 Sep 2012 05:45 PM |
| A localscript runs on a client, for instance, you can access the player's mouse only using one. Or, if you accidentally created an infinite loop, it would affect the client only. A script runs on the server and what happens in it affects the server. You could use localscripts in various locations to decrease the server lag. |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 29 Sep 2012 05:46 PM |
| Lol make sure you use "fakeArms" or something and weld them i think, idk how things work, i dont make tools :( |
|
|
| Report Abuse |
|
|
jmr11b
|
  |
| Joined: 19 Aug 2010 |
| Total Posts: 806 |
|
|
| 29 Sep 2012 05:47 PM |
Do I access the mouse just by typing mouse? So mouse.Icon = "somerandomlink" |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 29 Sep 2012 05:49 PM |
You can check for the mouse? if mouse == nil then return end? then the icon is just how the mouse icon looks |
|
|
| Report Abuse |
|
|
jmr11b
|
  |
| Joined: 19 Aug 2010 |
| Total Posts: 806 |
|
|
| 29 Sep 2012 05:51 PM |
| The animation works in build mode... just not in Play darn. I thought I was done, got a ways to go now. |
|
|
| Report Abuse |
|
|
FireTG
|
  |
| Joined: 28 Oct 2010 |
| Total Posts: 291 |
|
|
| 29 Sep 2012 05:53 PM |
| You could make the "real arm"s invisible, create new ones, then use those for the animation. |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 29 Sep 2012 05:54 PM |
| THATS WHAT I SIAD :( except u edited it a bit |
|
|
| Report Abuse |
|
|
jmr11b
|
  |
| Joined: 19 Aug 2010 |
| Total Posts: 806 |
|
|
| 29 Sep 2012 06:59 PM |
| Yep shouldn't be TOO hard. But Thanks for helping guys! I really appreciate it! |
|
|
| Report Abuse |
|
|