fictionx Posted September 15, 2017 Share Posted September 15, 2017 (edited) Hi, How can i make that the player can't move allowing the mob attack him?. i'm using setcell with the flag cell_walkable,0 but the problem is that command make the player have immunity to attack from a mob. (Like @monsterignore). Thank you in advance Edited September 15, 2017 by fictionx Quote Link to comment Share on other sites More sharing options...
0 M4karov Posted September 15, 2017 Share Posted September 15, 2017 7 minutes ago, fictionx said: Hi, How can i make that the player can't move allowing the mob attack him?. i'm using setcell with the flag cell_walkable,0 but the problem is that command make the player have immunity to attack from a mob. (Like @monsterignore). Thank you in advance *pcblockmove <id>,<option>; *unitblockmove <id>,<option>; Prevents the given GID from moving when the option is 1, and enables the ID to move again when the option is 0. This command will run for the attached unit if the given GID is zero. Examples: // Prevents the current char from moving away. pcblockmove getcharid(3),1; // Enables the current char to move again. pcblockmove getcharid(3),0; 1 Quote Link to comment Share on other sites More sharing options...
0 fictionx Posted September 15, 2017 Author Share Posted September 15, 2017 11 minutes ago, M4karov said: *pcblockmove <id>,<option>; *unitblockmove <id>,<option>; Prevents the given GID from moving when the option is 1, and enables the ID to move again when the option is 0. This command will run for the attached unit if the given GID is zero. Examples: // Prevents the current char from moving away. pcblockmove getcharid(3),1; // Enables the current char to move again. pcblockmove getcharid(3),0; Thank you!. Solved. Quote Link to comment Share on other sites More sharing options...
Hi,
How can i make that the player can't move allowing the mob attack him?.
i'm using setcell with the flag cell_walkable,0 but the problem is that command make the player have immunity to attack from a mob. (Like @monsterignore).
Thank you in advance
Edited by fictionxLink to comment
Share on other sites