When I run the following code in the console, it returns nil
Code: Select all
ship=ScenEdit_GetUnit({side='USSR', name='BPK Simferopol', guid='IE6M5H-0HNBL68LGL15D'})
print (ship.class)Moderators: michaelm75au, angster, RoryAndersonCDT, MOD_Command
Code: Select all
ship=ScenEdit_GetUnit({side='USSR', name='BPK Simferopol', guid='IE6M5H-0HNBL68LGL15D'})
print (ship.class)