Arma 3
126 ratings
Threat AI To Talk At Gun Point
   
Award
Favorite
Favorited
Unfavorite
Data Type: Composition
Meta: Dependency
File Size
Posted
3.791 KB
Dec 29, 2021 @ 1:36am
1 Change Note ( view )

Subscribe to download
Threat AI To Talk At Gun Point

Description
Second version is out with ACE and extra step! Check it here:
https://steamcommunity.com/sharedfiles/filedetails/?edit=true&id=2714872905


Just a small scenario that allows the player to extract information from an AI with some "persuasion".

Change anything you need within the trigger to suit your needs, you can add sound files which will make it even better.
The holdAction is in the civilian init field.
Player needs to be within 5m from the suspect (can be changed of course)

NOTE : This works currently ONLY in SP and in hosted MP, but not on dedicated servers, as `player` is not defined on dedicated servers. I don't know how to do it so any suggestion would be great.


⭐Want to see more great stuff!?⭐

Join my discord for Arma 3 scripts and goodies!
https://discord.gg/ZxXWDXeFbM

Check My YouTube channel for Arma content (tutorials and gameplay)
https://www.youtube.com/channel/UC8ssC9aJNK47AgR7rWqp1yw

Enjoy
23 Comments
AJAX_93 6 hours ago 
EXCELLENT!!!!!
HOW CAN I DO THIS, BUT HAVE HIM TALK ONLY WHEN I APPROACH OR RAISE HIS HANDS WHEN I PASS BY?
Bax Nov 11, 2023 @ 8:04am 
Nice one, thanks! Finnaly I have a possibilty to get that damn login. :D
Benchmark  [author] Aug 18, 2022 @ 1:25pm 
@[+| CL rautamiekka

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
Benchmark  [author] Aug 18, 2022 @ 1:23pm 
@Dirty Pagan
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
[+| CL rautamiekka Aug 16, 2022 @ 11:32am 
@dev

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
☠ Kibbe_Surdo ☠ Aug 14, 2022 @ 6:49pm 
Hi, how could I make this mod work?
it is not very clear in the description, thanks in advance
☠ Kibbe_Surdo ☠ Aug 13, 2022 @ 2:32pm 
hello, so i just have to drop the composition located in custom compositions, in game in the editor ? also is there a way to make remote controlled ai besides the player be able to threaten civilians too ?
Operator_Beo Jul 27, 2022 @ 7:26am 
GOAT dude milsim with this mod is a superior level!
Jakes Mar 2, 2022 @ 11:26pm 
thx
Benchmark  [author] Mar 2, 2022 @ 7:27pm 
@Jakes
Hi man, for dedicated it works bit differetly with the code in initPlayerLocal.
I'll send it to you in DM on Discord