I just wanna ask if where I can find the script behind this behaviour of this two player states?
1. Character is in idle (No animation) State where player stays after walking into a cell without any action.
2. Character is in idle after killing a monster (with animation) it stays on this state as long as you dont do anything. I believe this animation is called "Standby".
I have checked "pc.c" but I cant find it there.
EDIT:
So i found this and I think it is somewhat related.
Question
namerpus18
Hello everyone,
I just wanna ask if where I can find the script behind this behaviour of this two player states?
1. Character is in idle (No animation) State where player stays after walking into a cell without any action.
2. Character is in idle after killing a monster (with animation) it stays on this state as long as you dont do anything. I believe this animation is called "Standby".
I have checked "pc.c" but I cant find it there.
EDIT:
So i found this and I think it is somewhat related.
static void pc_setstand(struct map_session_data *sd) { nullpo_retv(sd); status_change_end(&sd->bl, SC_TENSIONRELAX, INVALID_TIMER); clif->sc_end(&sd->bl, sd->bl.id, SELF, status->get_sc_icon(SC_SIT)); //Reset sitting tick. sd->sitting_regen.tick.hp = 0; sd->sitting_regen.tick.sp = 0; if (pc_isdead(sd)) { sd->state.dead_sit = sd->vd.dead_sit = 0; clif->party_dead_notification(sd); } else { sd->state.dead_sit = sd->vd.dead_sit = 0; } }
Thank you,
Link to comment
Share on other sites
0 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.