Hyroshima Posted January 5, 2021 Posted January 5, 2021 hello guys, I was trying to use the clone script command to be similar to the @slaveclone command, however it is very confusing and does not work. *clone "<map name>",<x>,<y>,"<event>",<char id>{,<master_id>{,<mode>{,<flag>,<duration>}}} @slaveclone <player name/ID> Spawns a clone of the specified player. @slaveclone will spawn a supportive clone that follows the creator around. it would be possible? the clone follow who summoned it and attack who i attack? Quote
0 caos51 Posted January 5, 2021 Posted January 5, 2021 Then... try this? getmapxy(.@mapname$,.@mapx,.@mapy); clone .@mapname$,.@mapx,.@mapy,"OnMyCloneDies",getcharid(0),getcharid(0),137,1,0; Quote
0 caos51 Posted January 5, 2021 Posted January 5, 2021 Maybe just using *atcommand to let the user use @slaveclone through a script? Quote
0 Hyroshima Posted January 5, 2021 Author Posted January 5, 2021 1 hour ago, caos51 said: Maybe just using *atcommand to let the user use @slaveclone through a script? the problem with @slaveclone is that the generated clone attacks anyone players and doesn’t have time to finish unless the player dies ;/ Quote
0 Hyroshima Posted January 5, 2021 Author Posted January 5, 2021 51 minutes ago, caos51 said: Then... try this? getmapxy(.@mapname$,.@mapx,.@mapy); clone .@mapname$,.@mapx,.@mapy,"OnMyCloneDies",getcharid(0),getcharid(0),137,1,0; wow, solved my situation, thank you very much, i had trying some combinations but it wasn’t working I found it a bit confusing or there must have been some conflict of combinations in the mode. Quote
0 caos51 Posted January 5, 2021 Posted January 5, 2021 You can check all the modes here: https://github.com/rathena/rathena/blob/master/doc/mob_db_mode_list.txt I put... can move, can attack, and assist It was nothing thank you! Quote
0 Hyroshima Posted January 5, 2021 Author Posted January 5, 2021 9 minutes ago, caos51 said: You can check all the modes here: https://github.com/rathena/rathena/blob/master/doc/mob_db_mode_list.txt I put... can move, can attack, and assist It was nothing thank you! I choosed from this even list kk I just don't know what went wrong, but thank you for helping me Quote
Question
Hyroshima
hello guys, I was trying to use the clone script command to be similar to the @slaveclone command, however it is very confusing and does not work.
it would be possible?
the clone follow who summoned it and attack who i attack?
6 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.