GetTextureWidth
From GECK
A function added by the JohnnyGuitar NVSE Plugin.
Contents
Description
Returns width of a .dds texture file using its filepath relative to New Vegas folder (or to Data/Textures folder if optional argument is used).
Syntax
(int) GetTextureWidth path:string useDataTextures:int(0/1)
Example
set iWidth to GetTextureWidth "Data/Textures/myTexture.dds"
Notes
- This function only works on loose files; it won't work with files in BSA Files.