Hi,
I have a script that I want to attach a behaviour to a sprite dinamicly with Lingo. How can I do that? The behaviour as several property elements
I've tried the next with no sucess
sprite(mapSprite).member = member("map_crop"
sprite(mapSprite).puppet = true
scriptTemp = new(script "zoomInOut", 25, 740, 540, 80, 80, 400, 300, 530, 530)
sprite(mapSprite).scriptList.append(scriptTemp)
I have no idea what so ever of what to do
Please give an hand
Thank you in advance
I have a script that I want to attach a behaviour to a sprite dinamicly with Lingo. How can I do that? The behaviour as several property elements
I've tried the next with no sucess
sprite(mapSprite).member = member("map_crop"
sprite(mapSprite).puppet = true
scriptTemp = new(script "zoomInOut", 25, 740, 540, 80, 80, 400, 300, 530, 530)
sprite(mapSprite).scriptList.append(scriptTemp)
I have no idea what so ever of what to do
Please give an hand
Thank you in advance