Jump to content
  • 0

clone can work similar to slaveclone?


Hyroshima

Question


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   58
  • Joined:  07/11/14
  • Last Seen:  

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?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  26
  • Reputation:   1
  • Joined:  06/25/16
  • Last Seen:  

Then... try this?

getmapxy(.@mapname$,.@mapx,.@mapy);
clone .@mapname$,.@mapx,.@mapy,"OnMyCloneDies",getcharid(0),getcharid(0),137,1,0;
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  26
  • Reputation:   1
  • Joined:  06/25/16
  • Last Seen:  

Maybe just using *atcommand to let the user use @slaveclone through a script?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   58
  • Joined:  07/11/14
  • Last Seen:  

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 ;/

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   58
  • Joined:  07/11/14
  • Last Seen:  

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.

❤️❤️❤️

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  26
  • Reputation:   1
  • Joined:  06/25/16
  • Last Seen:  

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!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   58
  • Joined:  07/11/14
  • Last Seen:  

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 ❤️ 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...