OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: ToyGuns on 17 May 2005, 19:58:16
-
I have a mission with alot of enemies come at you. I don't want the AI to report the enemies. How can we disable AI reporting?
-
i dont think you can but if you could it would be very very tricky or you might have to look around in the config or bin files but that wouldnt be the sam on all comps
-
Doubt you can. That's not mission editing, that's messing with the game engine.
You could try enableRadio false.
-
THanks Macguba EnableRadio false is very close to what i need. But is there a way to just turn it off for that one AI unit? I dont code but some thing like this?
[unitname] = enableRadio false
-
I'm afraid not. It is all or nothing. If the unit is not part of your group you should not hear it though - is that a way to do what you want?
-
Maybe Disabling the Autotarget?????
unit disableAI section
Operand types:
unit: Object
section: String
Type of returned value:
Nothing
Description:
Disable parts of AI behaviour to get fine control over unit. Section is one of "TARGET" (disable watching assinged target), "AUTOTARGET" (disable independed target assigning and watching unknown targets), "MOVE" (disable movement).
Example:
soldierOne disableAI "Move"
Like these....
{_x disableAI "autotarget"} foreach units player
Really no idea if that do the work.... jeje but wach out! the Team AI will be affected!
Cheers
-
That will disable targeting, not reporting.
I would simply suggest put every unit in his own group, thus they have no one to report too.
Very easy.
-
RujiK oh yeah i never thought of that but if this is not at the begining of the mission use [unit1, unit,2 etc etc] join group null to get them to exit the original group
then the same but instead of group null use
leader group_namei think thats right anyway
-
if all of the loons are in separated gropups, you also can use the General Barron's Custom Formation Script (http://www.ofpec.com/editors/resource_view.php?id=433) script, and make some changes on it.. and U will have also a custom formation!jeje
Cheers again
edit: fixed up link...
-
Thanks for your Help! Some very good ideas.