OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Rommel92 on 31 Mar 2008, 06:41:14

Title: NearestObject (Bullets?)
Post by: Rommel92 on 31 Mar 2008, 06:41:14
How do I detect if a bullet has just wizzed past the players head, nearestObject isn't been friendly  :) .
Simple, but I still don't get where to post these sort of questions, I'd think general, but its not to do with cutscenes... ???
Code: [Select]
_nObject = getpos player nearObjects ["GrenadeHand", 100];

Now how do you convert this to bullets  ???

 :D

Nevermind!
This did it :P
Code: [Select]
_nObject = getpos player nearObjects ["BulletBase", 100];
Title: Re: NearestObject (Bullets?)
Post by: h- on 31 Mar 2008, 08:30:42
Quote
Simple, but I still don't get where to post these sort of questions, I'd think general, but its not to do with cutscenes
Scripting question that are simple go to the general, it holds much more than just cutscene related questions.. :)