Pjanssen
08-15-2008, 04:55 PM
Is it possible to let maxscript broadcast a callback and supply parameters with it?
I'm using the layer.addNode function in a script, but for some reason this does not broadcast a nodeLayerChanged callback. The same goes for the LayerManager.deleteLayerByName function.
So I wanted to broadcast these from the script.
The function handling the callback is obviously expecting parameters, which are acquired through callbacks.notificationParam().
But how can I set these?
I'm using the layer.addNode function in a script, but for some reason this does not broadcast a nodeLayerChanged callback. The same goes for the LayerManager.deleteLayerByName function.
So I wanted to broadcast these from the script.
The function handling the callback is obviously expecting parameters, which are acquired through callbacks.notificationParam().
But how can I set these?
