llSetDamage question...

Creating scripts
Post Reply
User avatar
Shandon Loring
Posts: 1341
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 961 times
Been thanked: 1581 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: 1314
Joined: Sun Dec 23, 2012 2:26 pm
Has thanked: 1134 times
Been thanked: 1141 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: 1341
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 961 times
Been thanked: 1581 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