OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: StonedSoldier on 20 Jan 2005, 23:26:53
-
how do vi return the name of the currently selected weapon so say the guy has a rifle and a sidearm, how can i tell which he has currently selected
-
Sorry..........I don't think you can.
You can find out what his primary and secondary weapons are, but you can't tell which one he is currently using........unless of course you can see him. ;D
Planck
-
Planck is right. I tried for ages on this
-
if he really uses it = shoots, a EH should do the job
-
I suppose in principle you could issue him with a fire command and use the "fired" EH to find out what weapon he is holding and delete the bullet. Not always appropriate though.