fictionx Posted September 15, 2017 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
0 M4karov Posted September 15, 2017 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
0 fictionx Posted September 15, 2017 Author 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
Question
fictionx
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 fictionx2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.