llSetDamage question...

Creating scripts
Post Reply
User avatar
Shandon Loring
Posts: 1242
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 856 times
Been thanked: 1449 times
Contact:

llSetDamage question...

Post by Shandon Loring »

llSetDamage(float damage)
Sets the amount of damage that will be done to an avatar that the scripted object collides with.
The scripted object will die (be deleted) immediately on colliding and no event handlers will be executed first.

https://lslwiki.digiworldz.com/lslwiki/ ... lSetDamage
Does anyone know a work around to prevent an object scripted with llSetDamage from self-deleting (i.e. Die-ing) ?

Thanks!
These users thanked the author Shandon Loring for the post:
Ilan Tochner
Graham Mills
Posts: 1242
Joined: Sun Dec 23, 2012 2:26 pm
Has thanked: 995 times
Been thanked: 1056 times

Re: llSetDamage question...

Post by Graham Mills »

These users thanked the author Graham Mills for the post (total 2):
Ilan TochnerShandon Loring
User avatar
Shandon Loring
Posts: 1242
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 856 times
Been thanked: 1449 times
Contact:

Re: llSetDamage question...

Post by Shandon Loring »

OH YEAH!!
That appears to work terrific Graham!!!
Thank You Thank You

Beware all attendees at the Star Wars dance this coming weekend, the Tie Fighters are firing live rounds!!!
mwah-ahahahaaaa
These users thanked the author Shandon Loring for the post:
Graham Mills
Post Reply