fictionx Posted September 15, 2017 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 122 Reputation: 17 Joined: 12/10/12 Last Seen: Friday at 09:36 PM 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 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 149 Reputation: 37 Joined: 04/01/13 Last Seen: June 18, 2024 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 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 122 Reputation: 17 Joined: 12/10/12 Last Seen: Friday at 09:36 PM 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...
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 fictionxLink to comment
Share on other sites
2 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.