Quote:
Originally Posted by hc_wolf
So the call in the .cs file could be something like.
if [SpitfireMkI]
types Aircraft Stationary
class part.SpitfireMkI
type Fighter
FM FlightModels.SpitfireMkI
Pneumatics Source Engine0 Pressure 300 lbsqin PrimaryContainer 4 litre Starts Open, Full SecondaryContainer 4 litre Starts Closed, Full
or
WPF.Fuel [85%]:
I think we are getting a little closer. Any assistance on this?
|
The mission scripts have only limited access through a defined interface. IIRC there is only read access to these values.
In this post
http://forum.1cpublishing.eu/showthr...338#post342338 is a code example that shows how to read parameters from an aircraft using the "getParameter()" function. However IIRC there is no "setParameter()" function to write a value.