File Name: npcmask
File Submitter: Garr
File Submitted: 10 Oct 2014
File Category: Plugins
Masks NPCs on player's client based on his/her variables. Will need to leave NPC sight range/@refresh for it to trigger (if you change variable while NPC is still in sight nothing will change, but @refresh/leaving screen and entering again will trigger mask).
Usage:
npcmask <new sprite>,<int variable name>,<compare method>,<value1>,{<value 2>,{<new size>,{<new name>,{<npc name>}}}}npcunmask {<npc name>}
Applies and removes NPC masking, accordingly.
<new sprite> - sprite NPC will show if conditions are met
<int variable name> - variable name to check, only integer character variables.
<compare method> - compare method, based on following masks (v - variable, a- value1, b - value2)
0x01 - Less, uses value1 (v < a)
0x02 - Equal, uses value1 (v == a)
0x04 - More, uses value1 (v > a)
0x10 - "BETWEEN" - Between value1 and value2, including values 1 and 2 (a <= v <= b )
0x20 - "EXCLUDE" - Excluding between value1 and value2, values 1 and 2 are excluded also. (v < a OR v > b )
Example: 0x03 - same as less or equal, makes a check (v <= a)
"BETWEEN" and "EXCLUDE" methods overwrite anything else, "EXCLUDE" will take precedence over all other methods.
<value1> - value1 to compare too, used in all compare methods.
<value2> - value2, used in "BETWEEN" and "EXCLUDE" modes. Optional parameter, if it won't be provided
while using "BETWEEN" or "EXCLUDE" methods, those methods will be skipped.
<new size> - size masking, defaults to medium size.
<new name> - name masking, if not provided will use NPC's original name.
<npc name> - NPC name to use masking on. If not provided, will be used on NPC script is running from.
This plugin appeared from the idea of hiding NPCs from some players, while it still being visible to others. It's just added in functionality.
You can download the file here.
OR
You can copy it from here.
File Submitter: Garr
File Submitted: 10 Oct 2014
File Category: Plugins
Masks NPCs on player's client based on his/her variables. Will need to leave NPC sight range/@refresh for it to trigger (if you change variable while NPC is still in sight nothing will change, but @refresh/leaving screen and entering again will trigger mask).
Usage:
npcmask <new sprite>,<int variable name>,<compare method>,<value1>,{<value 2>,{<new size>,{<new name>,{<npc name>}}}}npcunmask {<npc name>}
Applies and removes NPC masking, accordingly.
<new sprite> - sprite NPC will show if conditions are met
<int variable name> - variable name to check, only integer character variables.
<compare method> - compare method, based on following masks (v - variable, a- value1, b - value2)
0x01 - Less, uses value1 (v < a)
0x02 - Equal, uses value1 (v == a)
0x04 - More, uses value1 (v > a)
0x10 - "BETWEEN" - Between value1 and value2, including values 1 and 2 (a <= v <= b )
0x20 - "EXCLUDE" - Excluding between value1 and value2, values 1 and 2 are excluded also. (v < a OR v > b )
Example: 0x03 - same as less or equal, makes a check (v <= a)
"BETWEEN" and "EXCLUDE" methods overwrite anything else, "EXCLUDE" will take precedence over all other methods.
<value1> - value1 to compare too, used in all compare methods.
<value2> - value2, used in "BETWEEN" and "EXCLUDE" modes. Optional parameter, if it won't be provided
while using "BETWEEN" or "EXCLUDE" methods, those methods will be skipped.
<new size> - size masking, defaults to medium size.
<new name> - name masking, if not provided will use NPC's original name.
<npc name> - NPC name to use masking on. If not provided, will be used on NPC script is running from.
This plugin appeared from the idea of hiding NPCs from some players, while it still being visible to others. It's just added in functionality.
You can download the file here.
OR
You can copy it from here.
Last edited by a moderator: