Page MenuHomeFeedback Tracker

setObjectTexture no longer sets object texture!
Closed, ResolvedPublic

Description

this setObjectTexture [0, "texture.paa"] no longer sets object's texture in Editor. No much more to say really.

Details

Legacy ID
2782004015
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
Editor
Steps To Reproduce
  1. Place texture file in Saved Mission
  2. Create Object and init: this setObjectTexture [0, "texture.paa"]
  3. Run!

Event Timeline

Noahmcmahon edited Additional Information. (Show Details)
Noahmcmahon set Category to Editor.
Noahmcmahon set Reproducibility to Always.
Noahmcmahon set Severity to None.
Noahmcmahon set Resolution to No Bug.
Noahmcmahon set Legacy ID to 2782004015.May 7 2016, 7:40 PM

what object did you try it on? not all objects have hidden selections.

works for me

suv setobjecttexture [0,"#(rgb,8,8,3)color(1,0,0,1)"]

makes it red

Oh, I see, you want to set it from the editor INIT, then you must disable randomisation:

this setVariable ["BIS_enableRandomization", false];
this setObjectTexture [0,"#(rgb,8,8,3)color(1,0,0,1)"];

Mass-closing all resolved issues not updated in the last month.

Please PM me in BI Forums (http://forums.bistudio.com/member.php?55374-Fireball) if you feel your bug was closed in error.