Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
HOW CAN I DO THIS, BUT HAVE HIM TALK ONLY WHEN I APPROACH OR RAISE HIS HANDS WHEN I PASS BY?
I actually fixed it. I use initPlayer file
send me a DM in my discord server and I'll send you the file if you want
Hey man, just drop the composition, appraoch the guy and do the same steps as you see in the video in the composition description.There's a hold action and once it's done, aim your gun at the suspect
Hmm, I was thinking that you might be able to fix the Dedicated Server problem if you run a loop on the Server side that checks for Player presence within a certain distance (like you already do `xxx distance zzz < 3`), then if a Player unit is pointing a weapon at that AI unit.
For ex: https://forums.bohemia.net/forums/topic/226109-detect-when-ai-unit-aiming-weapon-at-other-ai-unit/?do=findComment&comment=3383583 is said to work (I haven't tested), and an earlier post mentioned https://community.bistudio.com/wiki/lineIntersectsObjs
it is not very clear in the description, thanks in advance
Hi man, for dedicated it works bit differetly with the code in initPlayerLocal.
I'll send it to you in DM on Discord