OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: RujiK on 17 Mar 2005, 19:08:06
-
Sup peeps, I just wished to suggest for anyone who doesnt go to the Pending list (Latest and Greatest) often to try out my bouncing grenade script, no addons needed and works with all versions! :thumbsup:
Gimme some feedback.
-
I really like this script! It adds a lot of realism! :thumbsup:
However, I also found a small bug. When I threw a smoke shell, the smoke shell bounced like a grenade, and the blew up! :o Might want to add a line in the script to ckeck if the magazine thrown was a grenade or a smokeshell.
-
Aw! I didn't even think of that! All I did was check if it was Thrown or not.
thanks!
EDIT:Problem solved! I have know added a check to see if its a grenade or not so smokeshells bounce too! This script would also be very easily modified to work with addon grenades too.
-
No problem, very nice script!
-
nice script you made there, my only critisim is that since the final explosion is camcreated the guy who threw it doesnt get credited with a kill, i played around with your script and altered it so it does,
sorry to nit pick your script but in MP it matters how many kills you get, great script otherwise