Fratini Posted April 14, 2016 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 153 Reputation: 8 Joined: 07/01/14 Last Seen: May 3, 2018 Share Posted April 14, 2016 Hi, I would like to know where can I change to be able to lock the target in GvG maps. Thank you! Quote Link to comment Share on other sites More sharing options...
0 Corrosive Posted April 18, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 08/22/12 Last Seen: August 1, 2019 Share Posted April 18, 2016 I was hoping somebody else would answer this.... anyways I believe it is client sided (/nc). However if you go into your unit.c and search for unit_attack_timer_sub... You can just insert this above if(ud->state.attack_continue) ud->attacktimer = add_timer(ud->attackabletime,unit_attack_timer,src->id,0); if(src->type == BL_PC && map[src->m].flag.gvg) ud->state.attack_continue = 0; // 0 for disabling the autoattack/lock, 1 for enabling it ALL THE TIME. This code is 100% untested. Quote Link to comment Share on other sites More sharing options...
0 Fratini Posted April 18, 2016 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 153 Reputation: 8 Joined: 07/01/14 Last Seen: May 3, 2018 Author Share Posted April 18, 2016 (edited) Thank you @Corrosive for reply! I'll test it and edit this post after, with results. Edited April 18, 2016 by Fratini Quote Link to comment Share on other sites More sharing options...
Question
Fratini
Hi,
I would like to know where can I change to be able to lock the target in GvG maps.
Thank you!
Link 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.