AI settings are read/write properties of a ship that affect its behavior. AI settings can be initialized on a ship class in the <AISettings>
element (in the future we should also be able to assign these in the <Properties>
element).
At runtime, AI settings should be manipulated as properties. We use the prefix "ai." for all AI settings:
(obj@ theShip 'ai.noFriendlyFire) -> returns setting
(objSet@ theShip 'ai.noFriendlyFire True) -> sets setting
For backwards compatibility, we also support (shpGetAISetting)
and (shpSetAISetting)
.
Resolve
Archive
Reopen
Create
Edit
Save
Attach File
Cancel Edit