OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Triggerhappy on 21 Jan 2005, 00:26:45

Title: making a bullet
Post by: Triggerhappy on 21 Jan 2005, 00:26:45
I'm working on a function that will find cover near a unit, and i need to know how to camcreate a bullet.
i know how to find one through a fired EH but i don't know how to camcreate one...

thanks guys
Title: Re:making a bullet
Post by: StonedSoldier on 21 Jan 2005, 00:48:59
ok if you catch the bullet name with EH just do a simple camcreate,

_man= _this select 0
_bullet= _this select 4

_bullet2 = _bullet camcreate getpos _man
Title: Re:making a bullet
Post by: Triggerhappy on 21 Jan 2005, 02:29:27
oh ok thanks