Oh, I was trying to do it from very start, but failed. OK, here were the problems with VIEW entities.
1. It is not visible.ent_create("robotic.mdl", vector(300,0,0), player_walk); - IS VISIBLE ON SCREEN
--
IS VISIBLEENTITY ent1 =
{
type = "robotic.mdl";
layer = 2; // display above view entities with layer 1
flags = VISIBLE; client_id = camera; // same camera parameters as the default view
x = 300; // place 100 quants ahead of the view
y = 0; // 50 to the right
z = 0; // and center vertically
}
-
IS NOT VISIBLEBut what is the difference? Why second one is not visible at all? I create it at the same place, correct? This definition is positioned at the very top of the script, so it should run. Besides, panel creation, which as above in the script, works fine. So, I have no idea where is the problem...
2. How can I attach action to entity created this way?It is een possible?