Posted By: Xyro
2 questions. - 09/08/11 19:09
Hello I would like to know on how to get the position of a position object placed in the level editor.
And seccond, I have a model placed in the level editor and I want to use that model in my code so I gave it a action called startup which I defined in my main.c :
ENTITY* mainCharacter;
action startup()
{
mainCharacter = me
}
but that didn't work out so great. So what is the correct way of doing this ?
And seccond, I have a model placed in the level editor and I want to use that model in my code so I gave it a action called startup which I defined in my main.c :
ENTITY* mainCharacter;
action startup()
{
mainCharacter = me
}
but that didn't work out so great. So what is the correct way of doing this ?