Textures
#10

Quote:
Originally Posted by MasonPlay
Посмотреть сообщение
Add new tmpobjid; in the beginning of the script.
Quote:
Originally Posted by MOSensei
Посмотреть сообщение
then put the new tmpobjid; above your script..
NO! The sole purpose of that variable is to provide a temporary handle (hence 'tmp') to retexture the object. Global variables are evil and should be avoided whenever possible.
Reply


Messages In This Thread
Textures - by Greaper - 11.05.2015, 11:35
Re: Textures - by Konstantinos - 11.05.2015, 11:43
Re: Textures - by Greaper - 11.05.2015, 11:49
Re: Textures - by Konstantinos - 11.05.2015, 11:51
Re: Textures - by Greaper - 11.05.2015, 11:56
Re: Textures - by MasonPlay - 11.05.2015, 11:58
Re: Textures - by Konstantinos - 11.05.2015, 12:00
Re: Textures - by Greaper - 11.05.2015, 12:00
Re: Textures - by MOSensei - 13.05.2015, 16:55
Re: Textures - by Vince - 13.05.2015, 17:00

Forum Jump:


Users browsing this thread: 1 Guest(s)