Elevator Help

ok so were working on an elevator but its not moving when the npc is activated inside it, right now were testing scripts out and fixing ups ones that arent working but this one has us stumped. and were using unity free so were limited to that, any help is welcome.

C# script

using UnityEngine;
using System.Collections;

public class lift : MonoBehaviour {

public float smooth = 2;
public GameObject Lift;

private Vector3 newPosition;

void Awake ()
{
newPosition = transform.position;
}

void Update ()
{

}

void OnTriggerEnter(Collider other)
{

Vector3 PositionA = new Vector3( 0.9323347f, -0.8528683f, -2.471113f);
PositionA = newPosition;
transform.position = Vector3.Lerp(transform.position, newPosition, Time.deltaTime * smooth);

}

}

You are trying to move the elevator slowly inside OnTriggerEnter it seems?
That wont work because that code only runs one time when the object enters the trigger…

You could try OnTriggerStay : Unity - Scripting API: Collider.OnTriggerStay(Collider)
Or add bool variable and set it true when object enters the trigger, then start moving the elevator inside Update loop…

ps. check this first: http://forum.unity3d.com/threads/using-code-tags-properly.134625/