Advanced Question Determining used UMMU mesh on entering the vessel

Hlynkacg

Aspiring rocket scientist
Addon Developer
Tutorial Publisher
Donator
Joined
Dec 27, 2010
Messages
1,870
Reaction score
3
Points
0
Location
San Diego
Meshes for UMMU

Ok reading the UMMU documentation and SDK files I know that UMMU uses the folowing lines to determine which mesh a UMMU will spawn with.

Code:
//--------------------------------------------------
// By default UMM 2.0 use the misc id table below to 
// choose the UMMU mesh to eva. See PDF doc or README.txt
// in folder config/UMMUIdConfig about those Id/name/meshes table.
// those tables are filled at runtime. You must check if UmmuMiscID
// is empty or look "iNbrOfIdConfigLoaded" below before using them, 
// there is 255 ID possible but only a few are filled by default 
// at runtime (during init).
#define NUMBER_OF_MMU_TYPE	255
// tables of Id
extern char UmmuMiscID[NUMBER_OF_MMU_TYPE][5];		    // example: "Capt" "Sci"
// table of corresponding mesh to use with UmmuMiscID
extern char UmmuMeshUsed[NUMBER_OF_MMU_TYPE][25];	    // example: "UMmu/UMmuP" "UMmu/UMmuSci"
// Name corresponding to Misc ID
extern char UmmuFunctionName[NUMBER_OF_MMU_TYPE][25];   // example: "Captain" "Scientific"
extern int iNbrOfIdConfigLoaded;						// the number of Id loaded

My question is "Is it possible to use this to find out what mesh a particular UMMU had when it entered the vessel or will spawn with prior to it actually doing so?"
 
Top