UFAIL2
|
  |
| Joined: 14 Aug 2010 |
| Total Posts: 6905 |
|
|
| 25 Sep 2014 08:42 PM |
| I just want some opinions. If you wanted to control every NPC in one script (for a RPG), how would you approach handling movement, dialog, quests, ect? I'm talking about implementing is for each NPC. |
|
|
| Report Abuse |
|
cxcharlie
|
  |
| Joined: 26 Aug 2009 |
| Total Posts: 1414 |
|
|
| 25 Sep 2014 09:45 PM |
Make a large table of Quests, Health, Name, Etc. Then iterate through all the NPC's and apply the values to each of them individually. If you need separate threads use Delay, Coroutines, Spawns, etc. |
|
|
| Report Abuse |
|