blob: 03c81630715a61636ec9149ed05069c9eb8b71ed (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// Evol functions.
// Author:
// Reid
// Description:
// Triggers functions to add and remove masks.
// Variables:
// 4 - Top Mask
// 8 - Bottom Mask
// Default mask: 13 (Top + Bottom + Display mask)
// Artis Aemil's Legion
function script artisALResetMask {
.@m=getmapmask("001-2-33");
sendmapmask(.@m);
return 0;
}
function script artisALTopMask {
addtimer 30, "artisALTopMaskDO::OnDoIt";
return 0;
}
function script artisALBottomMask {
addtimer 30, "artisALBottomMaskDO::OnDoIt";
return 0;
}
// Show bottom mask is the same as hiding top mask
- script artisALBottomMaskDO NPC_HIDDEN,{
OnDoIt:
.@m=getmapmask("001-2-33");
sendmapmask(.@m^4);
}
// Show top mask is the same as hiding bottom mask
- script artisALTopMaskDO NPC_HIDDEN,{
OnDoIt:
.@m=getmapmask("001-2-33");
sendmapmask(.@m^8);
}
|