Jump to content

Recommended Posts

Posted

Can anybody tell me, if setting the alarm state for naval units is implemented/necessary?

 

I can set it via the mission editor in the ADVANCED (WAYPOINT ACTIONS) to RED or AUTO. But when I start the mission, the unit always has alarm state GREEN.

I can also try to change it during the mission as game master, but it always automatically goes back to GREEN.

 

If I try to set it via scripting, I get an error with this line

controller:setOption( AI.Option.Naval.id.ALARM_STATE, AI.Option.Naval.val.ALARM_STATE.GREEN )

So the enumerator AI.Option.Naval.id.ALARM_STATE obviously does not exist.

 

Is it actually necessary to set the alarm state for naval groups to anything different than GREEN?

In particular, would a naval group still move if in alarm state RED and being under fire?

A warrior's mission is to foster the success of others.

i9-12900K | RTX 4090 | 128 GB Ram 3200 MHz DDR-4 | Quest 3

RAT - On the Range - Rescue Helo - Recovery Tanker - Warehouse - Airboss

  • 1 year later...
Posted

Perhaps it's a silly question, but isn't controller supposed to be written with capital C?

Not a silly question at all - I've been sloppy ;)

To be more precise, what I call "controller" should be the object the getController DCS API functions returns.

A warrior's mission is to foster the success of others.

i9-12900K | RTX 4090 | 128 GB Ram 3200 MHz DDR-4 | Quest 3

RAT - On the Range - Rescue Helo - Recovery Tanker - Warehouse - Airboss

Posted

To be more precise, what I call "controller" should be the object the getController DCS API functions returns.

 

Right, I figured as much, that's why I said it might be silly to ask :D

 

 

Regarding the alarm state thingy for ships, I seem to recall that I used it a few days ago, can't recall if it worked as intended...

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...