Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

pushed(key id) event

Huns Valen
Don't PM me here.
Join date: 3 May 2003
Posts: 2,749
12-22-2004 05:38
When an object is pushed, a pushed() event is raised. All the normal sensor/touch calls apply (llDetectedPos(), llDetectedName(), llDetectedOwner(), etc.) This would allow us to figure out who is using push scripts on vehicles, and probably has other uses as well.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
12-22-2004 07:43
From: Huns Valen
When an object is pushed, a pushed() event is raised. All the normal sensor/touch calls apply (llDetectedPos(), llDetectedName(), llDetectedOwner(), etc.) This would allow us to figure out who is using push scripts on vehicles, and probably has other uses as well.


ahhh should be an integer so it could in theory handle multiple pushs at the same event... like touch and collision

This would be really useful in a combat system to protect bullets against cheaters with sheilds.

CODE

pushed(integer count)
{
while(count--)
llSay(0,llList2CSV([count,
llDetectedGrab(count),
llDetectedGroup(count),
llDetectedKey(count),
llDetectedLinkNumber(count),
llDetectedName(count),
llDetectedOwner(count),
llDetectedPos(count),
llDetectedRot(count),
llDetectedType(count),
llDetectedVel(count)
]));
}
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
12-22-2004 09:55
I endorse this product and/or service with gleeful abandon! :D
Goshua Lament
Registered User
Join date: 25 Dec 2003
Posts: 703
12-22-2004 11:01
I don't fully understand the pottential of this, but Woohoo!
_____________________
Flickr Second Life Photo Gallery

I no longer regularly login to SecondLife, but please contact me if an issue arises that needs my attention.