These forums are CLOSED. Please visit the new forums HERE
Eject Script in a gun? |
|
Jersey Hudson
Registered User
Join date: 7 Feb 2008
Posts: 3
|
12-29-2009 16:54
Is there a way to put a script in a gun that when you hit your target it gets ejected from your parcel? I happen to have a gun that is already scripted so that it make s a BANG noise and also shoots out a projectile and even creates a dust cloud when it hits somethign like a wall. What I owuld like is if someone comes onto my land that I can shoot them and their avatar ejects or goes home or soemthing similar. Is there a gun on xstreet that I can buy that already does that?
|
Void Singer
Int vSelf = Sing(void);
![]() Join date: 24 Sep 2005
Posts: 6,973
|
12-29-2009 20:43
Is there a way to put a script in a gun that when you hit your target it gets ejected from your parcel? if it's land owned by you (and not deeded to a group) http://wiki.secondlife.com/wiki/LlEjectFromLand in your bullet script, get the avatars key from the collision_start event Is there a gun on xstreet that I can buy that already does that? you could search... I'm not aware of one... my suggestion would be "products wanted" forum. _____________________
|
| . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - |
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
12-29-2009 22:40
if you want it for a combat system of sorts so that multiple people's guns will appear to eject people, you could have the gun shoot the bullets and shout/regionsay the key of the avatar. then have a central server listen for the bullets. when it hears the key it can use it to eject them
_____________________
Dark Heart Emporium
http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020 want more layers for tattoos, specifically for the head? vote here http://jira.secondlife.com/browse/VWR-1449? llDetectedCollision* Functions similar to touch http://jira.secondlife.com/browse/SVC-3369 |
Void Singer
Int vSelf = Sing(void);
![]() Join date: 24 Sep 2005
Posts: 6,973
|
12-30-2009 00:56
good idea... that would also get around the single owner problem.
_____________________
|
| . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - |
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
|
12-30-2009 02:34
Or you could set the land to Damage Enabled and fire bullets set to inflict 100% damage. This will "kill" the avatar they strike, thus tp-ing him or her home.
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
12-30-2009 08:13
Or you could set the land to Damage Enabled and fire bullets set to inflict 100% damage. This will "kill" the avatar they strike, thus tp-ing him or her home. yeah that too, but if you use llEjectFromLand on a parcel that doesn't use the whole sim, it ejects them to a nearby parcel. usefull if you simply want them to start over at the beginning. thinking about that, what happens if the parcel is the full sim? are they ejected to neighboring sims? or home if there are no neighboring sims? _____________________
Dark Heart Emporium
http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020 want more layers for tattoos, specifically for the head? vote here http://jira.secondlife.com/browse/VWR-1449? llDetectedCollision* Functions similar to touch http://jira.secondlife.com/browse/SVC-3369 |
Jack Abraham
Lantern By Day
Join date: 11 Apr 2008
Posts: 113
|
12-30-2009 09:55
My experience is that they get shoved into the nearest corner, if there are no bordering sims. I've not tried it when there are bordering sims.
|
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
|
12-30-2009 10:01
I seem to remember when once I ejected someone from a parcel that was a full island sim, with no adjoining neighbours, my unwelcome visitor spent a bit of time flapping helplessly at one corner threatening all sorts until I muted him. But it was a long time ago and I couldn't swear to it.
|
Void Singer
Int vSelf = Sing(void);
![]() Join date: 24 Sep 2005
Posts: 6,973
|
12-31-2009 00:43
eject shoves them off the nearest parcel border, if that border is also a sim border, without a neighbor, they will be trapped. I believe a similar trapping happens if the nearest border is a parcel they are banned from.
_____________________
|
| . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - |