Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (Grant), 999 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
NPC Action #301190
12/08/09 20:51
12/08/09 20:51
Joined: Nov 2009
Posts: 18
D
Daniel_M Offline OP
Newbie
Daniel_M  Offline OP
Newbie
D

Joined: Nov 2009
Posts: 18
Hello. I would like to include a NPC (Non Player Character) script in my rpg level. can anybody send me a example or function?

greets
Daniel

Re: NPC Action [Re: Daniel_M] #301195
12/08/09 21:27
12/08/09 21:27
Joined: Nov 2002
Posts: 913
Berlin, Germany
S
SchokoKeks Offline
User
SchokoKeks  Offline
User
S

Joined: Nov 2002
Posts: 913
Berlin, Germany
In games NPC's do all kind of stuff.

Usually they are controlled by an advanced AI if they fight against or with you. That is nothing that can be programmed in a single function or small example.

If you mean npcs that stand around and that you can talk to and that give you quests:
their code is more simple, but it needs to be tailored to a dialog or quest system in your game, so I'm afraid it will be hard to give a generic example.
Such systems are complex, so don't expect that someone will post such a system here.
please be more precise what you want the NPC to do.

your best bet will be to look for a lite-c RPG template system. I don't know one, but it might exist.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1