Jump to content
  • 0

Need help with my script


hendra814

Question


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1191
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

Hi everyone i'm needed help to fix my script.

This script for summon monster and the summon monster battle each other.

here my script

// Custom Script

// by : Hendra814

// Ym : [email protected]

// Note : 01/07/12

// create summon monster and make summon monster battle each other

//========================SUMMON MONSTER========================

prontera,155,180,4 script Monster Summoner 937,{

input .monsterid;

atcommand "@summon " + .monsterid;

atcommand "@killer";

atcommand "@hide";

}

base on GM command, @summon must be like this

@summon[space]monster_name[space]duration

so when i'm called summon monster with this script, the monster just hold with my char for 1 minutes.

so how to add duration time to atcommand "@summon " + .monsterid;

Thanks

Edited by hendra814
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  113
  • Reputation:   5
  • Joined:  06/06/12
  • Last Seen:  

atcommand "@summon "+ .monsterid + " 60000";

that should hold the monster for 1hr, not sure if i got the number right, but the idea is right there

Edited by en_dev
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1191
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

atcommand "@summon "+ .monsterid + " 60000";

that should hold the monster for 1hr, not sure if i got the number right, but the idea is right there

Thanks, The script work good now

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  113
  • Reputation:   5
  • Joined:  06/06/12
  • Last Seen:  

good to hear that :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1191
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

Anyone please help, how to make this script giving prize for winning summon monster.

Is it possible.

Thanks

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  113
  • Reputation:   2
  • Joined:  10/29/12
  • Last Seen:  

http://trac.rathena....m.txt?rev=15262

You can use the summon command then add ONEvent on the end. Hence the person who's monster killed the other player's monster will call the script to run and receive points or items thereof.

Basically attaching ownership on the monster summoned and attaching a call function when killed.

Edited by pandaplaygames
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1191
  • Reputation:   161
  • Joined:  06/12/12
  • Last Seen:  

* edited

Already done

Edited by hendra814
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...