example npc script: using multiple values

Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.


Forum rules

This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.

Its current use is for the continued development of the server and game it has always served: TMW Classic.

Post Reply
User avatar
argul
Novice
Novice
Posts: 237
Joined: 08 Aug 2010, 18:43

example npc script: using multiple values

Post by argul »

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 98 times
---
alastrim
Novice
Novice
Posts: 139
Joined: 02 Jun 2009, 12:19
Location: Brasil

Re: example npc script: using multiple values

Post by alastrim »

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

Thanks! :D
Post Reply