Couldn't find anything on the wiki, so I thought I'd ask here: is there a way to check the current type of a variable? I'm trying to calculate the dV of each individual stage of a rocket. My first thought was to iterate over all the parts and collect the necessary information that way, but there doesn't seem to be a way to differentiate which parts are engines and which aren't.
[1.3] kOS Scriptable Autopilot System v1.1.3.0
in KSP1 Mod Releases
Posted · Edited by Parametric
Couldn't find anything on the wiki, so I thought I'd ask here: is there a way to check the current type of a variable? I'm trying to calculate the dV of each individual stage of a rocket. My first thought was to iterate over all the parts and collect the necessary information that way, but there doesn't seem to be a way to differentiate which parts are engines and which aren't.