Object Materials
#4

Oh i get it now.....

In your objectinfo enum type "defaultmaterial"..
Inside your command with which you make an object do
objectinfo[objectid][defaultmaterial] = material(this will be the objectid that u are giving in command to make object like e.g\makeobj[id][material]) after this make a command like /resetobj [id]
{
\\ here make command like createdynamicobject and for object material use objectinfo[objectid][defaultmaterial] and use x y z coordinates u used while making object they must be like objectinfo[objectid][OposX] and same for y z and rotations
}
Reply


Messages In This Thread
Object Materials - by 963852741 - 26.09.2016, 15:17
Re: Object Materials - by Alpha000 - 26.09.2016, 15:22
Re: Object Materials - by 963852741 - 26.09.2016, 15:26
Re: Object Materials - by Alpha000 - 26.09.2016, 15:35
Re: Object Materials - by Threshold - 26.09.2016, 15:46
Re: Object Materials - by Alpha000 - 26.09.2016, 15:57

Forum Jump:


Users browsing this thread: 2 Guest(s)