This commit is contained in:
Fred Beckhusen
2015-08-07 15:34:30 -05:00
parent ce47ec2f3e
commit fde850293c
8080 changed files with 0 additions and 2443112 deletions

View File

@@ -1,3 +0,0 @@
<Solution name="BulletPush">
<Project name="BulletPush" path="BulletPush\BulletPush.prj" active="true"/>
</Solution>

View File

@@ -1,6 +0,0 @@
<Project name="BulletPush" guid="D6298C9A-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D6298D78-6C00-1014-B904-200204C60A89">
<Script name="BulletPush_1.lsl" guid="D62A205D-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>

View File

@@ -1,63 +0,0 @@
// :CATEGORY:Weapons
// :NAME:BulletPush
// :AUTHOR:Encog Dod
// :CREATED:2010-01-10 05:20:56.000
// :EDITED:2013-09-18 15:38:49
// :ID:131
// :NUM:194
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// BulletPush
// :CODE:
// From the book:
//
// Scripting Recipes for Second Life
// by Jeff Heaton (Encog Dod in SL)
// ISBN: 160439000X
// Copyright 2007 by Heaton Research, Inc.
//
// This script may be freely copied and modified so long as this header
// remains unmodified.
//
// For more information about this book visit the following web site:
//
// http://www.heatonresearch.com/articles/series/22/
//
// Encog's MultiBullet Gun Bullet
//
// Push Bullet: This bullet will push an avatar high in the air
//
default
{
on_rez(integer delay)
{
llSetStatus( STATUS_DIE_AT_EDGE, TRUE);
llSetDamage(0);
llSetBuoyancy(1.0); // Make bullet float and not fall
llCollisionSound("", 1.0); // Disable collision sounds
if (delay >0 )
{
llSetTimerEvent(delay);
}
}
collision_start(integer total_number)
{
if (llDetectedType(0) & AGENT)
{
llPushObject(llDetectedKey(0), <0,0,2147483647>, ZERO_VECTOR, FALSE);
}
llDie();
}
timer()
{
llDie();
}
}