|
Elgato Hax
Registered User
Join date: 24 Aug 2008
Posts: 2
|
09-18-2008 20:54
ok i greatly apologize if this has been covered.
but i need a script (either melee or gun) that when it hits an AV it ejects them from the land. i'd write it my self, but don't have the slightest clue on were to start with the script.
|
|
Lightwave Valkyrie
Registered User
Join date: 30 Jan 2004
Posts: 666
|
09-18-2008 23:57
you could start with the popgun in the inventory library and add llEjectFromLand(llDetectedKey(0)) on a collision event
_____________________
L$ is the root of all evil videos work! thanks SL 
|
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
09-19-2008 00:24
... assuming you have access/permission to eject people from said land. It won't work if you don't have that access.
_____________________
 ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura
|
|
Kephra Nurmi
winged bug
Join date: 12 Jan 2007
Posts: 180
|
09-19-2008 20:17
Moin, From: Elgato Hax but i need a script (either melee or gun) that when it hits an AV it ejects them from the land. i'd write it my self, but don't have the slightest clue on were to start with the script. I would code it as in two parts: 1 - is rezzed and deeded to group, listening to a channel for commands to unsit and eject people. Always check to unsit before eject, else you'll also eject the sit target! 2 - a script to detect collisions with avatars, who are not owner, and to send an eject command to the the first. The important security by obscurity point could be some password and number to create an md5 string to confirm the eject. Else it would be to trivial to cheat the system. ciao,Kephra
|