Hello,
How set an angle for a npc shop?
Code i used (evocity2_v2p):
[CODE]NPC.Name = "Dealership";
NPC.ID = 4;
NPC.Model = Model("models/players/perp2/m_2_06.mdl");
NPC.Invisible = false; // Used for ATM Machines, Casino Tables, etc.
NPC.Location = Vector( 1365.919800, -2326.192627, 304.031250);
NPC.Angles = Angle(63.931511, 89.027794, 0.000000);
NPC.ShowChatBubble = "VIP";[/CODE]
Problem: [url]http://steamcommunity.com/sharedfiles/filedetails/?id=148335590[/url]
They appear, i can talk with them. But, they are only shadows. If i walk against them they do block me like they are standing there..
Is the code wrong? The vector seems to be fine, but i think its the angle?
When i typ getpos in console it gave me this:
[CODE]setpos 1365.919800 2326.192627 304.031250;setang 63.931511 89.027794 0.000000[/CODE]
If they're only shadows then you might want to try a different NPC model.
E.g.
models/player/barney.mdl