view entities are not level entities, they cannot be assigned an action per say. instead you referance the view entity by its definition name just as you would any level entity by pointer
i.e.
entity bigbob
{
}
function animate_bob
{
ent_animate(bigbob....
....
)
function movebob
{
bigbob.y += force_key.x;
bigbob.z += force_key.y;
}
and so on
there is a view entity create but you cannot use it via script ( untill c-Lite is released) it has to be used in a dll