Jump to content

Recommended Posts

Posted (edited)

No, I haven't but may play with it later. Meanwhile I would be glad to hear more of what you have in mind  :)

Edited by roko91
Posted

No, I haven't but may play with it later. Meanwhile I would be glad to hear more of what you have in mind  :)

I'm thinking about setTarget after the chat window is opened :)

Posted (edited)

I'm thinking about setTarget after the chat window is opened :)

 

If you talk about how the Tombstone will know who is the dead player I done it like this:

you have custom zone in which when player die Tombstone will be spawned (which was Sweets idea).

In this zone we override onDieInside() method in which we spawn our custom Npc Instance called L2TombstoneInstance for example.

This Npc Instance have private property L2PcInstance _deadPlayer and method called setDeadPlayer(L2PcInstance deadPlayer).

After we spawn the Tombstone we simply call it's setDeadPlayer() method and then we do whatever we want with _deadPlayer which will obviously hold the dead player instance :)

Edited by roko91
Posted

Oh :lol:

I was talking about when you want to resurrect the dead player. The npc's collision is higher and you can't target the player's name... or I'm wrong? ^_^

Posted

Oh :lol:

I was talking about when you want to resurrect the dead player. The npc's collision is higher and you can't target the player's name... or I'm wrong? ^_^

 

Actually you can - /target Player :P

Posted

Actually you can - /target Player :P

It's an option but what you think about player.setTarget(deadPlayer) where the deadPlayer is associated with it's tombstone? So on double click you will talk to the tombstone but on shift click you will target the dead player. ^_^

Posted

Hm I think I lost you here :D

It will be faster than /target Player :lol:

You can talk to the tombstone by the simple double click... but when you want to target player's name, you use shift click on the tombstone. You don't need to use /target Player. :P

Posted

It will be faster than /target Player :lol:

You can talk to the tombstone by the simple double click... but when you want to target player's name, you use shift click on the tombstone. You don't need to use /target Player. :P

 

Nice idea but I though to move the Tombstone spawn behind the dead player like a real Tombstone above a grave. It's not because I'm lazy to code the thing you say but IMO it would be a little bit better this way :)

Posted

Nice idea but I though to move the Tombstone spawn behind the dead player like a real Tombstone above a grave. It's not because I'm lazy to code the thing you say but IMO it would be a little bit better this way :)

Indeed it's a better idea :P

Posted (edited)

About the targeting, its party/clan based zone so you know, via party window. The zone is chaotic so if the tombstone disappear immediatelly there is no chance to take the drop.

 

Now if I think about it, there basically is no chance. to steal while mass pvp. Else your pt member who is close to you, lol

 

:D

Edited by SweeTs
Guest
This topic is now closed to further replies.

×
×
  • Create New...