FANDOM


The command creates an identical copy of an object, but the object will always share certain propeties with the original

SyntaxEdit

void dbInstanceObject ( int iObject, int iSource )

iObject is the refernce number for the new object being made.
iSource is the reference of the object being instanced.

UsageEdit

dbInstanceObject ( 4, 28 );

This would copy all the information about object 4 into a new object, 28, and if you change any properties of either, except position properties, then it will change the other as well. For example, if we made object 4 red, object 28 would be too.

See AlsoEdit

dbCloneObject

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.