• Atemo's avatar
    setpcblock script command (#4052) · 7dde174c
    Atemo authored
    * Added setpcblock and getpcblock script commands.
    'setpcblock' command prevents/allows the player from doing the given type of action.
    'getpcblock' command return the bit-mask value of the currently enabled block flags.
    
    The available type are:
    	PCBLOCK_MOVE
    	PCBLOCK_ATTACK
    	PCBLOCK_SKILL
    	PCBLOCK_USEITEM
    	PCBLOCK_CHAT
    	PCBLOCK_IMMUNE
    	PCBLOCK_SITSTAND
    	PCBLOCK_COMMANDS
    	PCBLOCK_NPCCLICK
    	PCBLOCK_EMOTION
    	PCBLOCK_ALL
    
    Thanks to @sigtus, @secretdataz, @Lemongrass3110 and @aleos89 for the help and reviews !
    Credit to https://github.com/HerculesWS/Hercules/pull/842 for the idea.
    7dde174c
Name
Last commit
Last update
..
import-tmpl Loading commit data...
char_msg.conf Loading commit data...
login_msg.conf Loading commit data...
map_msg.conf Loading commit data...
map_msg_chn.conf Loading commit data...
map_msg_frn.conf Loading commit data...
map_msg_grm.conf Loading commit data...
map_msg_idn.conf Loading commit data...
map_msg_mal.conf Loading commit data...
map_msg_por.conf Loading commit data...
map_msg_rus.conf Loading commit data...
map_msg_spn.conf Loading commit data...
map_msg_tha.conf Loading commit data...