Forum Jump :

Author Message

Posts: 5

Level: Member

Country: es
In-game name:

#197430 Posted at 2017-06-15 13:48        
I have a script that have a texture. I need to save this texture in my computer, like other languages:

file f = new file("example.jpg");

But i dont know how to do in .sqf????

I saved my texture in my script in this way:

_textures = getObjectTextures _object;
_texture = _textures select 0;

Added 40 minutes later:

I only need to save a texture object into a file "".jpg or "".paa

Added 36 minutes later:

I need to export a object texture ingame.

This post was edited by ferolegu (2017-06-15 15:04, 824 days ago)

Tags: File, Jpg, Script, Write