/*   Script generated by
Lilac Soul's NWN Script Generator, v. 1.6

For download info, please visit:
http://www.lilacsoul.revility.com    */

//Put this OnUsed
void main()
{

object oPC = GetLastUsedBy();

if (!GetIsPC(oPC)) return;

int nInt;
nInt=GetLocalInt(oPC, "intBrakingLeverOn");

if (nInt == 0)
   {
   SetLocalInt(oPC, "intBrakingLeverOn", 1);
   ActionPlayAnimation(ANIMATION_PLACEABLE_DEACTIVATE);
   }
else
   {
   SetLocalInt(oPC, "intBrakingLeverOn", 0);
   ActionPlayAnimation(ANIMATION_PLACEABLE_ACTIVATE);
   }

}

