Home   Help Search Login Register  

Author Topic: NearestObject (Bullets?)  (Read 1132 times)

0 Members and 1 Guest are viewing this topic.

Offline Rommel92

  • Members
  • *
NearestObject (Bullets?)
« 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];
« Last Edit: 31 Mar 2008, 07:00:09 by rommel92 »

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: NearestObject (Bullets?)
« Reply #1 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.. :)
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.