Home   Help Search Login Register  

Author Topic: A score script  (Read 1440 times)

0 Members and 1 Guest are viewing this topic.

Offline 9thInfSandman

  • Members
  • *
A score script
« on: 23 Jun 2007, 04:40:24 »
Hey, I'm trying to make my own ranking system and I want ArmA to automatically give anyone who is a West Pilot points so they can fly immediately.  I am using ArmA Edit.

This is what I have:

{
   _unit = player;
   if (player isKindOf "SoldierWPilot") then
   {
      if (score _unit < rank1)  exitWith
      {
         player addscore 1000;
         hint "Pilot points awarded";
      };
   };
};


I get no errors when I start the match, it just doesn't work.  Please help.


Sandman

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: A score script
« Reply #1 on: 23 Jun 2007, 05:09:54 »

Duplicate post...
Please only make one topic per question.

All replies to this to this topic:

http://www.ofpec.com/forum/index.php?topic=29657.0

*Locking*


Planck
I know a little about a lot, and a lot about a little.