FANDOM


This command copies the characterisitcs of one sprite into that of another.

SyntaxEdit

void dbCloneSprite (int iSprite, int iDestination)

This command copies the characteristics of the sprite disignated by iSprite into the sprite designate by iDestination.

UsageEdit

dbSCloneSprite ( 1, 2 ); 

The above code copies all the characteristics of sprite number 1 into sprite number 2. If sprite number 2 doesn't already exist it will be created and added to the system.

If sprite number 1 doesn't exist but sprite number 2 does, sprite number 2 will be unaffected.

If sprite number 1 doesn't exist nor does sprite number 2, sprite number 2 will not be created

See AlsoEdit

dbSprite

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.