Jump to content
  • 0

[Help] onEvent Revive


Question

Posted

Hi people! me again :p

Well, i need some help here, in my CTF the players didnt revive or respawn, what i can do?

I must try with:

 

if onEvent(CTF) playerRevive(true);

 

And for the player killer what i do for dont get karma?

 

if onEvent(CTF) playerKiller.getKarma(false);

 

Well, if i'm worng please help me :)

Thats all. Thanx :)

2 answers to this question

Recommended Posts

  • 0
Posted

All is wrong basically, but hey.

 

For revive/respawn, try to understand and ninja-code the "You will be teleported in 10 seconds" from sieges, when an attacker die.

 

For karma, you must have a value like ifInCTFEvent / isInEvent, depending of your engine. so basically on L2PcInstance karma methods, make the method returns (skip the method) if you're in event.

  • 0
Posted

All is wrong basically, but hey.

 

For revive/respawn, try to understand and ninja-code the "You will be teleported in 10 seconds" from sieges, when an attacker die.

 

For karma, you must have a value like ifInCTFEvent / isInEvent, depending of your engine. so basically on L2PcInstance karma methods, make the method returns (skip the method) if you're in event.

 

Ok, i'll try, thanx

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock