I've been tossing around this idea for a while now, but it seems a bit difficult to implement as far as I know. I'd like to develop some sort of simple command system, creating an RTS type system. I imagine FWATCH can be used, for easier control (key commands, etc.)
Basically, the command system would have to use a dialog type system. But, the problem I have comes to selecting units. I'd like to try and develop some sort of selection system, much like most RTS games. That is, the expanding box system. I know OFP already has such a function, in command mode. However, you can only use when you are in command, and you can only select units in your group. Now, with the editing knowledge that I know, one cannot dynamically resize triggers... and that would be the only selection method suitable, AFAIK. I have a few other ideas, however.
When you drag from one location to another, you simply create a box. In doing so, you have a box with particular coordinates. So, my idea would just be to move a game logic in segments across the entire box, using the nearestobject command to add all possible units into an array. Of course you'd need a check to determine if the unit is already in the array, but that isn't a huge deal.
My second selection idea is a method in which one could select indivudual units, then add all of them to an array. In doing this, you could have unlimited group sizes. Using fwatch, I can determine if a user has control pressed while clicking. If so, select the unit (using nearestobject) and add it to an array. Then, I can do what I want to these units.
Now, I have some other ideas. With default OFP, there is no way to click on a unit, and assign it as a target (to other groups, soldiers, etc). However, I believe there is a way to accomplish this. With a trigger, one add all enemy units into an array. Now, it would also be possible to monitor all coordinates, though it probably isn't very CPU friendly. However, if one were to break up the map into virtual view segments, it could become practical. For example. A map is divided into two square kilometer sections. If the player has units selected, a script (or external program utilizing fwatch) would begin recording the coordinates of all units in the area. Once the player clicks near an enemy unit, the script would detect if the click location was within a few meters of an enemy unit. If so, that unit would be designated as a target.
Of course, I've got even more ideas. But i've typed enough. Any ideas from anyone else? Input?