Business / Organizational Behavior

Organizational Behavior

Autor:  antoni  10 April 2011
Tags: 
Words: 993   |   Pages: 4
Views: 435

// quest script (server)

x,y,face script name model,{

if (spritehatquest == 1) {

if(countitem(536) < 10) {

mes &quot;No ice cream!&quot;;

close;

}

mes &quot;Congrats dumbass!&quot;;

close2;

completequest 12138;

set spritehatquest,0;

end;

}

mes &quot;Hi dumbass! 10 Ice Cream, accept quest?&quot;;

next;

if(select(&quot;Yes:No&quot;) == 2) {

mes &quot;Bye.&quot;;

close;

}

mes &quot;Quest accepted!&quot;;

setquest 12138;

set spritehatquest,1;

close;

}

// questid2display.txt (client)

12138#Noob#SG_FEEL#QUE_NOIMAGE#

You talked to Dumbass.#

Find 10 Ice Cream.#

// explaination

12138 is the quest ID.

NOOB is the quest title.

QUE_NOIMAGE is image/logo show in quest log, you can put pic into 'texture/don't know what shit korean/illust/'.

SG_FEEL is the quest icon.

You talked to Dumbass is the description.

Find 10 Ice Cream is the quest need.

// script explain

spritehatquest is the quest variable, i'm having sprite lemon so random named.

setquest 12138 is to give [Quest 12138] to player, logged in database.

completequest 12138 is to set [Quest 12138] state into complete, logged in database and deleted in player's quest window.// quest script (server)

x,y,face script name model,{

if (spritehatquest == 1) {

if(countitem(536) < 10) {

mes &quot;No ice cream!&quot;;

close;

}

mes &quot;Congrats dumbass!&quot;;

close2;

completequest 12138;

set spritehatquest,0;

end;

}

mes &quot;Hi dumbass! 10 Ice Cream, accept quest?&quot;;

next;

if(select(&quot;Yes:No&quot;) == 2) {

mes &quot;Bye.&quot;;

close;

}

mes &quot;Quest accepted!&quot;;

setquest 12138;

set spritehatquest,1;

close;

}

// questid2display.txt (client)

12138#Noob#SG_FEEL#QUE_NOIMAGE#

You talked to Dumbass.#

Find 10 Ice Cream.#

// explaination

12138 is the quest ID.

NOOB is the quest title.

QUE_NOIMAGE is image/logo show in quest log, you can put pic into 'te...



AllFreePapers.com

Join to AllFreePapers.com


closeLogin
Please enter your username and password
Username:
Password:
Forgot your password?