I haven't been programming in lite-c for ages and this is a really noobie question some might remember me asking lol.

I have recently gotten it to load a entity file (the one thing I always have trouble with) now the entity will load with NULL but if I give it the player_move command it says its undeclared and wont start. How can I fix this?

CODE:
Code:
ENTITY* character;

function main()
{
	video_mode = 8; //This sets the resolution to 1024x768
	level_load("maps/grassland.hmp"); //This loads the map "grassland"
	vec_set(camera.x,vector(-500, 0, 100)); //Sets the spawn place for the camera
	character = ent_create("models/Model2.mdl",vector(-340,0,70),NULL); //Player entity
}



Basically it wont let me give it any other action name like "player, player_move, player_move" the only way I can get the script to run without errors is by calling it NULL.

Last edited by JakeBilbe; 02/23/10 06:52.