Ok so i wanna learn how this thing works. I'm guessing it can works like the event "onActivate". I want to get the datablock of the obj the client clicks so that i can send a message to the client saying what id the datablock is. Here is a script i found/made:
package onActivate
{
function FxDTSBrick::onactivate(%brick,%client,%loc,%rot)
{
connectToClient(%client, 'centerPrint', %brick @ %client @ %loc @ %rot,3);
Parent::onactivate(%brick,%client,%loc,%rot);
}
};
activatepackage(onActivate);
Also what does %loc and %rot mean?