Need help?
Create a topic in the appropriate section
Don't write everything in the chat!Take a look at the marketplace
There you can buy
everything related to game serversDon't want a ban?
Please read our rules
Don't disturb the order!Sell or buy?
Use services of the guarantor
We will make your deal safe



- 0
-
Our picks
Здравствуйте!
Проблема такая, делаю свое меню, расставил объекты, изменил положение персонажа, все ок, но не понимаю следующего - поставил НПС через код ниже, и не понимаю, как сделать, чтоб он стоял не просто ровно, а использовать на него какую либо анимацию, типо сидеть у костра и т.п. Так же не понимаю, как задействовать анимацию на основного персонажа. Подскажите плз
void NPC() { EntityAI Ent = EntityAI.Cast(GetGame().CreateObject("SurvivorM_Peter", "6332.635254 325.720154 7181.002441")); Ent.GetInventory().CreateInInventory("LugWrench"); Ent.GetInventory().CreateInInventory("Ushanka_Black"); Ent.GetInventory().CreateInInventory("WorkingGloves_Black"); Ent.GetInventory().CreateInInventory("JumpsuitJacket_Blue"); Ent.GetInventory().CreateInInventory("JumpsuitPants_Blue"); Ent.GetInventory().CreateInInventory("HikingBootsLow_Blue"); Ent.SetOrientation("180.00000 -0.000000 -0.000000"); };
Share this post
Link to post
Share on other sites