I'm trying to create a simple top down shooter. Now I know that you can get an entity on screen creating an action and assigning an action to a model in the level editor.

This is fine but limited. I can't control a player once he dies and "respawn".

basically I want create an entity by creating a model through c_script. How can I do a entity.visible instruction, and actually allow the ship to be controlled?

If I do something Like this:

entity player_ship
{
type = "playership.mdl"
x = ;
y = ;
z = ;

on_Leftarrow = my.y = 20++ ;//move instruction

}

I guess what I'm getting at is can I call functions through an entity? or will this give me errors.

Sorry its a bit verbose but I'd appreciate any help you all can provide.