Im trying to set the image of an actor through code in the Script Editor as follows:
actor1.anim1.file = 'cargun031.png';
but its giving a script error. what is the correct syntax?
skydereign wrote:There isn't a proper syntax for it, as it isn't currently supported. The only way you can do that is to use a canvas actor, read in the image file (easiest with bmp) and draw it on the canvas. This is a lot of work considering all the limitations it can cause so I wouldn't recommend it.
Users browsing this forum: No registered users and 1 guest