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: Sun Aug 08, 2010 7:43 pm

example npc script: using multiple values

Post by argul » Sat Sep 04, 2010 12:07 am

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: Tue Jun 02, 2009 1:19 pm
Location: Brasil

Re: example npc script: using multiple values

Post by alastrim » Sat Sep 04, 2010 4:04 pm

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

Thanks! :D
Post Reply