Jump to content
  • 0

Editing @go command


Madeon

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  36
  • Reputation:   2
  • Joined:  12/05/19
  • Last Seen:  

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
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  477
  • Reputation:   269
  • Joined:  06/13/17
  • Last Seen:  

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

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

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  241
  • Reputation:   18
  • Joined:  06/04/14
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  215
  • Reputation:   45
  • Joined:  05/03/13
  • Last Seen:  

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)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  924
  • Reputation:   167
  • Joined:  04/05/13
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  36
  • Reputation:   2
  • Joined:  12/05/19
  • Last Seen:  

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

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