Would it be something like:
function gsfseacopterVehicleData::OnTrigger(%this, %obj, %triggerNum, %val)
{
if(%val)
if(%triggerNum == 2)
gsfseacopterVehicle.addVelocity("0 0 10");
}
I believe it would be something more like the following, I'm not sure though. I've never messed around with OnTrigger, so most likely it isn't right. Also, I can't check right now because I don't have Blockland on this computer. Hope it helps.
function GSFSeaCopterVehicleData::OnTrigger(%this, %obj, %triggerNum, %val)
{
if(%val)
{
if(%triggerNum == 2)
{
%obj.addVelocity("0 0 10");
echo("Rofl copter goes SwooshSwooshSwoosh!");
}
}
}