Looking for a bit of help in my basic function.
Thanks for any help that can be offered.
Here is the function that I am using:
// Pre launch Sequence. Execute before bottom most Stage
declare function fn_PreLaunch
{
parameter b_SAS.
parameter b_RCS.
parameter b_Lights.
parameter f_Throttle.
parameter b_Gears.
SAS b_SAS. // I want to set SAS to the variable b_SAS (Boolean: On / Off; [True or False])
RCS b_RCS.
lights b_Lights.
lock throttle to f_Throttle. //Throttle is a decimal from 0.0 to 1.0
gear b_Gears.
}.
// Here is the function call (changeable as needed per rocket and mission needs):
fn_PreLaunch (On, On, On, 1, On).