Calling a ShapeBase function from a ShapeBaseImageData function
by Caleb · in Technical Issues · 08/01/2006 (6:55 am) · 1 replies
I've already explaned what I'm trying to do in the engine forum so I'm just going to make this quick.
I need some way of calling a ShapeBase function from ShapeBaseImageData function or Script. I know it sounds insane but if you have any ideas, just post.
good luck. :)
I need some way of calling a ShapeBase function from ShapeBaseImageData function or Script. I know it sounds insane but if you have any ideas, just post.
good luck. :)
Associate Anthony Rosenbaum
function ShapeBaseImageData::onFire(%data, %obj, %slot) {}%data is the datablock ( shapebaseimagedata)%obj is the current object (shapebaseimage)
And because Shapebaseimage is derived from shapebase you could call any shapebase method on derrived classes
do %obj.dump(); to see what is advailable