New in 2.3.0
Note: This function is only available in "dev builds". See here for more information.
Note: It is advised that you read the object documentation before this page in order to familiarise yourself with relevant terms and concepts.
Parameter | Type | Description |
object | int | The object whose model to set |
path | string | The model path to use |
N/A
Sets the model used by an object to the model resource pointed to by path.
import agan
class game():
def create(self):
self.obj = agan.mkobj('foo.sgml')
agan.setobjmdl(self.obj, 'thing.obj.raw')
return self
#
def update(self):
pass
#
def close(self):
pass