OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: 9thInfSandman on 23 Jun 2007, 04:40:24

Title: A score script
Post by: 9thInfSandman 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
Title: Re: A score script
Post by: Planck 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