"Class" Result is nil???
Posted: Sun Apr 13, 2025 8:29 pm
I know this is such a simple and stupid question but I cannot figure it out
When I run the following code in the console, it returns nil
If I print ship.name, it returns "SImferopol". Same for side, guid, etc. Am I using the wrong word for "class"
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)