Madeon Posted August 28, 2020 Posted August 28, 2020 (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 August 28, 2020 by Madeon Quote
0 Haruka Mayumi Posted August 28, 2020 Posted August 28, 2020 you probably turn this off from conf/battle/player.conf // Revive dead player while warping? (Note 1) revive_onwarp: yes 1 Quote
0 Ronald Posted August 28, 2020 Posted August 28, 2020 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. Quote
0 Kreustoo Posted August 28, 2020 Posted August 28, 2020 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) Quote
0 Start_ Posted August 28, 2020 Posted August 28, 2020 Please keep in mind if player dead >= 2 times in same map. I think characters will automatic warp back to savepoint. Quote
0 Madeon Posted August 28, 2020 Author Posted August 28, 2020 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. Quote
Question
Madeon
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 Madeon5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.