Jump to content
  • 0

Player State animations


namerpus18

Question


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.07
  • Content Count:  95
  • Reputation:   1
  • Joined:  11/15/22
  • Last Seen:  

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,

screenhercPRE036.jpg

screenhercPRE037.jpg

Edited by namerpus18
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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