Page MenuHomeFeedback Tracker

Need a "getObjectTexture" and "getObjectMaterial" scripting command
Closed, ResolvedPublic

Description

It would be nice to have a "getObjectTexture" and a "getObjectMaterial" scripting command. These would be useful so that we have a way to check/ see what texture an object is using.

getObjectTexture or getObjTexture could be used.

Details

Legacy ID
3497222665
Severity
None
Resolution
Fixed
Reproducibility
Have Not Tried
Category
Scripting
Additional Information

This is basically the VBS command "getObjTexture: http://resources.bisimulations.com/wiki/getObjTexture

Event Timeline

ProGamer edited Steps To Reproduce. (Show Details)Nov 17 2013, 3:48 AM
ProGamer edited Additional Information. (Show Details)
ProGamer set Category to Scripting.
ProGamer set Reproducibility to Have Not Tried.
ProGamer set Severity to None.
ProGamer set Resolution to Fixed.
ProGamer set Legacy ID to 3497222665.May 7 2016, 5:26 PM

Yeah, I just ran into the problem of no getObjectTexture command yesterday. If you're only looking for the object's original texture, you can read it from the config file, but that's a limited workaround. We really shoud have a proper getObjectTexture command.

A little off-topic, but there are actually a number of comamnds that let us set engine parameters that we have no way of reading in the first place. Seems like very strange and ad-hoc practice to have a "setThisVariable" command without its sibling "getThisVariable" included.

Jonpas added a subscriber: Jonpas.May 7 2016, 5:26 PM