[LUA] Data from Leaderscene.xml

LastSword

Prince
Joined
Feb 24, 2013
Messages
1,129
So obviously each leader has linked leaderscene by ArtDefineTag, but can we acquire the information from this file with Lua only? More precisely a texture used for Fallback image.

Code:
<LeaderScene FallbackImage="DiploGalliaLSMod.dds">
</LeaderScene>

Thanks.
 
I don't think you can. I was trying combinations of include() and loadstring(), but include() returns a table with zero accessible entries, so Firaxis must perform some magic with that under normal circumstances which don't work within a loadstring() context
 
Back
Top Bottom