Fleeing AI......

I have this script set up so when the character approaches a game Object It flees away to a waypoint. What I would like to do is add many waypoints so that the game object chooses which way point to follow by random. How can I do that?

using UnityEngine;

using System.Collections;

public class Fleeing : MonoBehaviour {

I would have an array of Vector3 [positions] and build a function that would return a position at random, from said array.