nomdeplume Posted March 14, 2011 Posted March 14, 2011 It would be really nice to be able to have the mission react to what the player sees. Since it's rather difficult to determine what a player has/hasn't seen, one idea for implementing something similar would be as follows: New trigger action 'add conditional radio item' or similar. This would take parameters: Group/Unit/Static object of interest Max distance from SOI/SPI to activate radio option Radio option text Flag number [*]When the above trigger action is run, adds the parameters to an internal list of conditional radio items. They could be removed with the existing 'remove radio item' action. [*]When the 'F10 other' radio menu is opened, process any conditional items in a similar manner to the "Contact" report to the JTAC: If the identified Unit or Static object is within the specified distance of {SPI,SOI,any sensor} (not sure what the best implementation would be, probably SOI?) then the item text is added to the menu. If the identified Unit or Static object isn't within the specified distance of the SOI, then skip the item (won't appear in the menu). [*]Player can then activate the radio item if they were looking in the correct location when they opened the menu. Another implementation would be to have a flag set & unset when the watched object is inside/outside the specified range of the SOI. This would need to happen continuously so might be expensive in terms of performance even with only a few objects being watched, but would provide greater flexibility.
Recommended Posts