[RESOLVED] RPN scripts within script triggers fail in v4?

Discussion related to Mission design and creation.
Locked
jamcd787
Posts: 19
Joined: Fri Aug 26, 2016 3:23 am

[RESOLVED] RPN scripts within script triggers fail in v4?

Post by jamcd787 »

it seems that RPN scripts are not properly evaluated in script triggers in v4. they worked great in v3.
some scripts cause validation errors, others simply don't evaluate correctly.
one example is an RPN script that begins (A:INDICATED AIRSPEED, knots) will cause an immediate object error of "missing parenthese". simple constants seem to work <script>0</script> works but with variables or comparisons like <, >, >=, etc. fail. in v3 I used &lt; and &gt; for the comparisons since it's embedded in XML, worked fine. will this be supported in v4 or do we need to re-write our scenarios?
thanks
User avatar
Rob McCarthy
Lockheed Martin
Posts: 3703
Joined: Wed Aug 24, 2011 1:37 pm

Re: RPN scripts within script triggers fail in v4?

Post by Rob McCarthy »

Thanks for letting us know. We'll investigate the issue.

Regards,
Rob McCarthy
Rob McCarthy
Prepar3D® Core Lead
Clifton Crane
Lockheed Martin
Posts: 1207
Joined: Tue Sep 25, 2012 2:34 pm

Re: RPN scripts within script triggers fail in v4?

Post by Clifton Crane »

Hello,

Thanks for the report! The issue will be fixed in the next release.
Clifton Crane
Prepar3D® Software Engineer Sr.
jamcd787
Posts: 19
Joined: Fri Aug 26, 2016 3:23 am

Re: RPN scripts within script triggers fail in v4?

Post by jamcd787 »

Thanks! I think we confirmed it's working now in 4.1.
Locked