Jump to content
  • 0

Editing @go command


Question

Posted (edited)

Hello, i want to edit @go to check if player is dead, if dead do atcommand @alive.

 

Something like:

doing @go 0

check if (playerisdead)

atcommand "@alive";

Edited by Madeon

5 answers to this question

Recommended Posts

  • 0
Posted

Basically if players is dead and then you do @go 0 player will be revived so I think you don't have to do a script for this one. But if there's something else you want to do please let us know. We'll be more glad to assist you.

  • 0
Posted

hello,
I think you can catch with bindatcmd the go and check if player hp are 0 and do @alive instead of @go (and let @go happen if you don't need to do anything about it)

  • 0
Posted

Please keep in mind if player dead >= 2 times in same map. I think characters will automatic warp back to savepoint.

  • 0
Posted
5 hours ago, Haruka Mayumi said:

you probably turn this off from conf/battle/player.conf

// Revive dead player while warping? (Note 1)
revive_onwarp: yes

Thanks, solved. ?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...