Didn't work, but that would be exactly what I need.
function ForceFeildGeneratordProjectile::onCollision(%this, %obj, %slot){
if(!%obj.client.isSuperAdmin && !%obj.client.isAdmin)
return;
%i = new Trigger() {
position = %pos;
rotation = "1 0 0 0";
scale = "3 24 3";
dataBlock = LastingImpulse;
polyhedron = "0.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 0.0000000 1.0000000";
};
schedule(2000,TriggerDelete,0);
}
datablock TriggerData(LastingImpulse){
tickPeriodMS = 100;
};
function LastingImpulse::OnEnter(%this, %trigger, %obj){
%obj.applyImpulse(0,2000)
}
function TriggerDelete(%obj){
%obj.delete();
}