example npc script: using multiple values

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
User avatar
argul
Novice
Novice
Posts: 237
Joined: 08 Aug 2010, 19:43

example npc script: using multiple values

Post by argul » 04 Sep 2010, 00:07

Hello folks,

here is an example of an npc script:

Problem:
every player has only a little amount of variables for state of quests (96, when i remember right).
So you got to use these variables very economical.

This example shows you how to use 8 variables(which have a range from 0 to 15) within one player variable.

Pjotr
Attachments
tester.txt
(3.22 KiB) Downloaded 73 times
---
alastrim
Novice
Novice
Posts: 137
Joined: 02 Jun 2009, 13:19
Location: Brasil

Re: example npc script: using multiple values

Post by alastrim » 04 Sep 2010, 16:04

You did a very good work on this tutorial/script...

Thanks! :D
Post Reply