OpenTGDPicture Subroutine Example

This example opens the picture TestPicture, gives it an alias of Test, and then open the taggroup file TestTGD. The coordinates of the top-left side of the picture are 75, 75.

OpenTGDPicture "TestPicture", "Test", 75, 75, "TestTGD"

This next example opens the picture TestPicture, allowing for multiple instances. The coordinates of the top-left side of the picture are 75, 75.

OpenTGDPicture "TestPicture", , 75, 75, , , true

This next example opens the picture TestPicture, allowing for multiple instances. It opens the instance with the taggroup file TestTGD. The coordinates of the top-left side of the picture are 75, 75.

OpenTGDPicture "TestPicture", , 75, 75, "TestTGD", , true