summaryrefslogtreecommitdiff
path: root/npc/sample/npc_test_func.txt
blob: db659fc1b6423f8835a2a9ac10915185dc6a2689 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// �l��Ԃ��Ȃ��֐�
function	script	func001	{
	mes "���[�U�[��`�֐�";
	next;
	return;		// �ȗ��ł��Ȃ�
}

// �l��Ԃ��֐�
function	script	func002	{
	return "���[�U�[��`�֐��Q";
}

// �֐��̌Ăяo���ƃT�u���[�e�B���̃e�X�g
prontera.gat,168,189,1	script	�֐��e�X�g	112,{
	callfunc "func001";		// ���[�U�[��`�֐��͕�����Ŏw��
	mes callfunc("func002");
	next;
	callsub L_SUB001;	// �T�u���[�e�B���̓��x���𒼐ڎw��
	close;
	end;

L_SUB001:
	mes "�T�u���[�e�B��";
	return;		// �ȗ��ł��Ȃ�
}