Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,251 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 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