Jump to content

[Share]On Death Custom Music and Red Sky


takhs7

Recommended Posts

i can't find this lines

 

-		// Set dead status if applies
-		if (activeChar.getCurrentHp() < 0.5)
-			activeChar.setIsDead(true);

i have interlude pack...

 

if (activeChar.isAlikeDead())

{

// no broadcast needed since the player will already spawn dead to others

sendPacket(new Die(activeChar));

 

// Make Sky Red For 7 Seconds.

ExRedSky packet = new ExRedSky(7);

sendPacket(packet);

// Play Custom Game Over Music

PlaySound death_music = new PlaySound(1, "Game_Over", 0, 0, 0, 0, 0);

sendPacket(death_music);

}

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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