ID:271577
![]() Aug 4 2007, 6:48 pm
|
|
ok i know this is simple but to make my NPCS talk can some1 tell me wat to look up in the reference or guide
|
Dimone Jr wrote:
k thnx but its a mob NPCs do not need to be mobs, because mobs are per definition containers for players. -- Data |
It's perfectly logical to make NPCs mobs if you ask me. As, by definition, mobs are mobile objects. I would just do it intuitively. Like make swords objs, people mobs, dogs mobs, pens objs, mountains turfs and so on.
|
Abhishake wrote:
It's perfectly logical to make NPCs mobs if you ask me. As, by definition, mobs are mobile objects. I would just do it intuitively. Like make swords objs, people mobs, dogs mobs, pens objs, mountains turfs and so on. Mobs are containers for clients, nothing more and nothing less. It makes more sense to make NPCs objs, since they're not controlled by the player. If I were to implement NPCs I would just do it like this: npc/parent_type=/obj Done. -- Data |
I don't see anything in the reference that says mobs are just containers for clients. But really, there's not a whole world of difference between mobs and objs. In theory, you could make your entire game objs (except of course the clients).
|
ok also im having a problem wit my flick code can u guys help can u guys help wit my code its now workin at all
|
Any mapping such as ground, trees, water all should be turf unless you need something else in some cases obj is used for like example tree's..
However you can make it all w/e you want you can make it turf, obj, mob etc. It is all based on how you want to do it there really isnt a right way though most people do it one way. :P |
depends on if the npc is an obj or a mob but for now we will call it an obj
// < is a note meaning any line with // anything after the // until a new line is a note
lots of ways to do it.