Jump to content
  • 0

Question needing ASAP answer.


PiXLCAT

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  07/21/12
  • Last Seen:  

Hello,

I am new to the rAthena forums and I have been scripting for 2-3 months. I am currently learning about arrays and I was wondering, is it possible to input the @nuke command somehow?

I do not have a script prepared but here is the mini-game idea I have in mind.

There are 9 bombrings in a single room and some of them, upon being killed, will either respawn or just @nuke the player, thus ending the game. I was also planning to make a counter that calculates the number of Bombrings killed so that the NPC can give the player a prize depending on the number. There is also a time limit of 1 minute but I have no problem when it comes to OnTimer.

Thank you for the help!

Edited by PiXLCAT
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.02
  • Content Count:  354
  • Reputation:   22
  • Joined:  11/17/11
  • Last Seen:  

you could look at the /doc/script_commands for starters.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  07/21/12
  • Last Seen:  

Ah, yes, I haven't thought about that.

Thanks, I will have a look.

Edited by PiXLCAT
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Hm I think you could try:

atcommand "@nuke " + strcharinfo(0);

This could work under the OnMobKilled part where if they killed the wrong Poring or something, they'll be nuked.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  07/21/12
  • Last Seen:  

@ Mysterious

Exactly what I was aiming for! Thank you for the help. I will try this out. :D

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...