Author Topic: Promotions with damage modifier.  (Read 1243 times)

0 Members and 1 Guest are viewing this topic.

Offline JotEmI

  • Soldier
  • **
  • Posts: 188
Promotions with damage modifier.
« on: November 17, 2008, 08:23:03 pm »
Script Name: Promotions
Original Author(s): JotEmI
Core Version: 2.6.3
Description: Very simple script but maybe someone will find it usefull. The idea is to grant players with military rank promotions for achieving certain amount of kills. Each promotion goes along with damage ingression by % value. You can change this value in promotions.pas in line "DmgModifier=". It's been tested and should work just fine.

Offline rumpel

  • Camper
  • ***
  • Posts: 410
Re: Promotions with damage modifier.
« Reply #1 on: December 06, 2008, 03:48:34 pm »
nice thanks.. added to my server
banned.

Offline iDante

  • Veteran
  • *****
  • Posts: 1967
Re: Promotions with damage modifier.
« Reply #2 on: December 06, 2008, 06:28:32 pm »
Reminds me of my old script, but more complicated.

Nicely done, but do you need to clear the array spots every time someone leaves and joins? Wouldn't just clearing them on joining only work just as well?

Offline shantec

  • Soldier
  • **
  • Posts: 140
  • Get ANGREH!!
Re: Promotions with damage modifier.
« Reply #3 on: December 06, 2008, 06:45:05 pm »
Quote from: iDante
Wouldn't just clearing them on joining only work just as well?

Or @ leaving? o.O
Also Known As REIMA


Lol Happles (happy apples)

Offline JotEmI

  • Soldier
  • **
  • Posts: 188
Re: Promotions with damage modifier.
« Reply #4 on: December 16, 2008, 10:04:18 am »
In theory yes, it should work fine when clearing arrays only on leaving. But I've already seen scripts generating errors because of this. It's just a couple of lines of code more, you may delete them if you want.