OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Wildebeest on 10 Feb 2004, 09:41:41
-
Hi, is there a way of making AI guys throw handgrenades at tanks? I'm working on a WWII mission CC3 style and I would like them to throw nades at the light tanks.
Thanks you're the best 8)
-
Well the easiest way, off the top of my head, would be to remove all the AI's weapons (just the guys you want chuckin' grenades), fill em up w/grenades and then have them dotarget and dofire.
To have them attack using grenades only, when they have other weapons, I'm not sure how you would do that. I don't know if you can specify what weapon you want the AI to use as they are pretty flaky with that stuff.
;D
-
commmand is:
soldier fire ["throw","grenade"]
Try it! :D
-
Thanks for your replies.
But soldier fire ["throw","grenade"] or this fire ["throw","handgrenade"] didn't work :P
-
sorry wrong command.
it's soldier fire "handgrenade"
leave the "[" and "]"
-
try "grenadehand" instead of "handgrenade". I think that'll work....
-
Hmm, you guys making fun of me? ::) ;)
-
No, the ammo name for a hand grenade is "grenadehand". If you want to camcreate a hand grenade, you have to write: camcreate "grenadehand" pos
I'm not sure, but if you are having troubles, you should try that.
-
Better look at magazine listing in comannd references! Better look!
;)