// Evol functions. // Author: // Reid // Jesusalva // 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); }