Custom Script

For very advanced mission logic, you can add a custom script to your mission. A custom script refers to an MSFS Mission script, coded in .xml and compiled to .spb.

You can place the mission script on a certain location in the world. It will be available in the whole world, but objects placed at 0,0 in the mission script will be moved to the specified location.

To add a script file to the simulator, you can use a Mission Package.

Attributes

Script Path

Path to the custom script file, without .spb (e.g. Scenarii\Miltech\Carrier\SupercarrierPro\CVN-76\Miltech_CVN-76)

Altitude

Altitude above sea level in feet

Orientation

Heading in true degrees north (not equal to magnetic north)

Actions

Custom Script doesn't have any actions or events, but you can use Custom Code to communicate using Lvars.

See also

Last updated