DVNW
|
  |
| Joined: 07 Dec 2012 |
| Total Posts: 7 |
|
|
| 04 Apr 2013 12:42 PM |
| How do I make a script that will let me make a NPC listen to commands to follow someone or stop? |
|
|
| Report Abuse |
|
|
velibor
|
  |
| Joined: 24 Nov 2009 |
| Total Posts: 1003 |
|
|
| 04 Apr 2013 12:44 PM |
- Use the Chatted event of the Player Object - Use a boolean that will be checked to move or not. - Use string.sub() for your commands.
|
|
|
| Report Abuse |
|
|
DVNW
|
  |
| Joined: 07 Dec 2012 |
| Total Posts: 7 |
|
|
| 04 Apr 2013 12:45 PM |
| I don't know how to do that..... |
|
|
| Report Abuse |
|
|
|
| 04 Apr 2013 01:10 PM |
First off: Can you script? Second off: Wiki can help you there. |
|
|
| Report Abuse |
|
|
DVNW
|
  |
| Joined: 07 Dec 2012 |
| Total Posts: 7 |
|
|
| 04 Apr 2013 01:22 PM |
| I can't script and i don't understand anything the wiki says..... thats kinda why I made the forum |
|
|
| Report Abuse |
|
|
|
| 04 Apr 2013 01:23 PM |
You made this thread*
You need to learn. Try something simpler for a start, and don't give up if you don't learn instantly; nobody does. |
|
|
| Report Abuse |
|
|
DVNW
|
  |
| Joined: 07 Dec 2012 |
| Total Posts: 7 |
|
|
| 04 Apr 2013 01:26 PM |
| Oh its called a thread well then... anyway what do u suggest to start with? |
|
|
| Report Abuse |
|
|
getkoed
|
  |
| Joined: 18 Feb 2010 |
| Total Posts: 2298 |
|
|
| 04 Apr 2013 01:29 PM |
| Take some basic free models, try to understand their script, then try to change a few things in it and finally try to make the model yourself. Then you start taking more advanced models and so on. |
|
|
| Report Abuse |
|
|
velibor
|
  |
| Joined: 24 Nov 2009 |
| Total Posts: 1003 |
|
|
| 04 Apr 2013 01:29 PM |
Do you have a moving NPC. If you have that then please post the code of the NPC here.
|
|
|
| Report Abuse |
|
|
DVNW
|
  |
| Joined: 07 Dec 2012 |
| Total Posts: 7 |
|
|
| 04 Apr 2013 01:31 PM |
| I will try the understanding the script thing and i dont have the NPC |
|
|
| Report Abuse |
|
|
DVNW
|
  |
| Joined: 07 Dec 2012 |
| Total Posts: 7 |
|
|
| 04 Apr 2013 01:32 PM |
| What would be a easy to understand script anyway? |
|
|
| Report Abuse |
|
|