I want to insert another NPC in scene.
I saw demo with OldGay. It made by entity.
But I want make him walk in some cases and play different animations.
Also, I want to make him 3D.
So, what is my way ?
Add actor by:
actor = Game.LoadActor("actors\NCP\NCP1.act3D");
Game.MainObject = actor;
____________________________________
but it's MainObject..
or I should repeat OldGay way by
global OldGuy = Scene.LoadEntity("entities\oldguy\oldguy.entity");
OldGuy.SkipTo(505, 330);
_____________________________
What is difference ? I mean what is best for NCP ? To be an actor or to be entity ?
You have really great docs but I didn't found how to make NCP
P.S. Now I made "it from" teapot
actor.Active = true;
if(!Game.IsItemTaken("NCP1))
{
var Teapot = Scene.LoadActor3D("actors\NCP\NCP1.act3d");
Teapot.SkipTo(1110, 504);
Teapot.Direction = DI_DOWN;
}
he is standing and plays "idle" but he is not "clickable" and can't even talk with him
I tried to found something on forum but failed.
Is it too easy ? And nobody have questions about that ? ;(((