OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Wildebeest on 03 Feb 2004, 14:55:03
-
How can I check when a guy has killed 30 enemies? I would like something to happen when the side GUER player has killed 30 EAST guys. I know how to check whether he has killed 30 or whatever specified guys that I have named or a whole group. But now I'm talking random enemies. A tank commander, a RPG soldier, a machinegunner from Timbuktu.
Yeah, you get the point he he.
Thanks yer the best :)
-
You could partly fake it with a rating command. Figure out how many rating points dropping 30 loons gives you and work back. You could use a count command somewhere as a check that at least 30 enemy loons had been zapped. You'd have a problem of what happens if he kills a vehicle though.
I suppose in theory it might be possible - since the game lists your kills at the end and all you'd have to do is strip out the vehicles and add them up - but I don't know how.
-
Thanks guba. Ye, I figured it would be hard. I think I'll go with some other objective instead. Thanks again man.