I'm trying to make a jousting-type game at my land, with the 'horses' being quad bikes - I need to insert a script into the hit area on the end of the 'pole' to move the opponent on contact, as the scriptless version doesn't cause much noticeable effect and the aim being to knock the other off a platform. So a friend gave me an item that pushes on contact with no action needing performing and it worked when I walked into it, so I modified it to only give a small push, tested it and it worked fine, sat on the bike, rode into it so it contacted with my avatar and nothing happened. I guess something about multiple keys, but I'm not a scripter - just wondering if you can be pushed while sat on another object? The one in there right now, which works on just my un-sat walking avatar is:
---------------------------------------------------------------------------------------
float force_amount = 10000.0;
default
{
on_rez(integer start_param)
{
llPreloadSound("Explosion"

;
}
collision_start(integer total_number)
{
llSetDamage(10);
if (llDetectedType(0) & AGENT)
llPushObject(llDetectedKey(0), force_amount*llRot2Up(llGetRot()), ZERO_VECTOR, FALSE);
}
}
---------------------------------------------------------------------------------------
Thanks in advance for your help, message me in-world if necessary.
