joey93 Posted April 14, 2020 Share Posted April 14, 2020 I am using this AnnieRuru function attached above to consider PvP between factions. But I can't attack other players without holding SHIFT. / noshift does not work for this case. Does anyone have any light? Quote Link to comment Share on other sites More sharing options...
0 issid Posted May 23, 2021 Share Posted May 23, 2021 I've been looking for this answer for many weeks (not found) found in "clif.cpp" "clif_map_property" Quote ((mapdata->flag[MF_NOLOCKON] || mapdata_flag_vs(mapdata) ? 1 : 0) << 4) | // DISABLE_LOCKON - Only allow attacks on other players with shift key or /ns active in it (set true) example (mapdata->flag[MF_FVF] = true) Quote ((mapdata->flag[MF_FVF] || mapdata->flag[MF_NOLOCKON] || mapdata_flag_vs(mapdata) ? 1 : 0) << 4) | but this applies to the whole map. how to define only one player and disable / ns for him I did not find maybe someone has ideas where to look? Quote Link to comment Share on other sites More sharing options...
I am using this AnnieRuru function attached above to consider PvP between factions. But I can't attack other players without holding SHIFT. / noshift does not work for this case. Does anyone have any light?
Link to comment
Share on other sites