Madeon Posted August 28, 2020 Group: Members Topic Count: 15 Topics Per Day: 0.01 Content Count: 36 Reputation: 2 Joined: 12/05/19 Last Seen: September 15, 2020 Share 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 Link to comment Share on other sites More sharing options...
0 Haruka Mayumi Posted August 28, 2020 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 477 Reputation: 269 Joined: 06/13/17 Last Seen: Thursday at 04:00 AM Share 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 Link to comment Share on other sites More sharing options...
0 Ronald Posted August 28, 2020 Group: Members Topic Count: 22 Topics Per Day: 0.01 Content Count: 241 Reputation: 18 Joined: 06/04/14 Last Seen: June 7, 2023 Share 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 Link to comment Share on other sites More sharing options...
0 Kreustoo Posted August 28, 2020 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 215 Reputation: 45 Joined: 05/03/13 Last Seen: May 21, 2023 Share 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 Link to comment Share on other sites More sharing options...
0 Start_ Posted August 28, 2020 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 924 Reputation: 167 Joined: 04/05/13 Last Seen: 48 minutes ago Share 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 Link to comment Share on other sites More sharing options...
0 Madeon Posted August 28, 2020 Group: Members Topic Count: 15 Topics Per Day: 0.01 Content Count: 36 Reputation: 2 Joined: 12/05/19 Last Seen: September 15, 2020 Author Share 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 Link to comment Share on other sites More sharing options...
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 MadeonLink to comment
Share on other sites
5 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.