Author Topic: Weapon ID in onPlayerKill and onPlayerDamage  (Read 1495 times)

0 Members and 1 Guest are viewing this topic.

Offline mikembm

  • Soldier
  • **
  • Posts: 210
Weapon ID in onPlayerKill and onPlayerDamage
« on: August 22, 2007, 03:27:23 pm »
Title says it all.

Offline Chariot

  • Flagrunner
  • ****
  • Posts: 604
Re: Weapon ID in onPlayerKill and onPlayerDamage
« Reply #1 on: August 22, 2007, 03:44:37 pm »
It does...?
Vidi Vici Veni
I saw, I conquered, I came

Offline Coolio

  • Camper
  • ***
  • Posts: 320
  • Well cya all.
Re: Weapon ID in onPlayerKill and onPlayerDamage
« Reply #2 on: August 22, 2007, 04:15:23 pm »
Title says it all.

Wait i don't get it. What do you mean i don't get the title?
BANNED

Offline BondJamesBond

  • Flagrunner
  • ****
  • Posts: 986
    • http://tobylands.com
Re: Weapon ID in onPlayerKill and onPlayerDamage
« Reply #3 on: August 22, 2007, 04:24:41 pm »
I'm not much of a scripter. But I think it means you should be able to identify the weapon that a person used to kill or inflict damage.

A real scripter will confirm or correct this.
The computer is a moron.
?  - Peter Drucker

Offline Toumaz

  • Veteran
  • *****
  • Posts: 1906
Re: Weapon ID in onPlayerKill and onPlayerDamage
« Reply #4 on: August 22, 2007, 04:29:40 pm »
But I think it means you should be able to identify the weapon that a person used to kill or inflict damage.
Correct.

It'd be great to have this feature added for OnPlayerDamage... even though you can already find out the weapon ID in OnPlayerKill using the Weapon string, can you not?

Offline mikembm

  • Soldier
  • **
  • Posts: 210
Re: Weapon ID in onPlayerKill and onPlayerDamage
« Reply #5 on: August 22, 2007, 06:39:17 pm »
It'd be great to have this feature added for OnPlayerDamage... even though you can already find out the weapon ID in OnPlayerKill using the Weapon string, can you not?

You can, but having the ID is far more useful than the string, IMO.

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Weapon ID in onPlayerKill and onPlayerDamage
« Reply #6 on: August 29, 2007, 09:21:23 pm »
a) belong in the scripting forum.
b) parameters for existing events will never be changed.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Weapon ID in onPlayerKill and onPlayerDamage
« Reply #7 on: August 31, 2007, 05:18:37 pm »
a) belong in the scripting forum.
b) parameters for existing events will never be changed.
How-a-bout the next version of dedicated server that will have events changed (maybe in v3.1.0? :P)