osgrid.org
https://forums.osgrid.org/

monster attack avatar
https://forums.osgrid.org/viewtopic.php?f=5&t=6189
Page 2 of 2

Author:  dj phil [ Sun Feb 10, 2019 9:44 am ]
Post subject:  Re: monster attack avatar

Do you have a result with the script below?
{L_CODE}:
default
{
    touch_start(integer n)
    {
        key uuid = llDetectedKey(0);
        osCauseDamage(uuid, 10);
        llSay(PUBLIC_CHANNEL, "[" + llKey2Name(uuid) + " health] " + llRound(osGetHealth(uuid)) + "%");
    }
}
(Work fine on current master)

Author:  Pixel Price [ Sun Feb 10, 2019 6:43 pm ]
Post subject:  Re: monster attack avatar

The script states my current health is at 100% - no matter how many times i touch it, it won't damage me?
osslenable.ini is already included and running (curent master as well), as i have NPC's activated!?

Author:  dj phil [ Mon Feb 11, 2019 2:05 am ]
Post subject:  Re: monster attack avatar

osCauseDamage (Threat Level High) was implemented in 2009 and works very well with the current master.

Verify your configuration please :)

  1. About Land / Options / Safe (No damage) must be unckecked
  2. Region Estate / Region / Allow damage must be ckecked

Author:  Pixel Price [ Mon Feb 11, 2019 4:06 am ]
Post subject:  Re: monster attack avatar

Omg... Safe (No damage) was checked xD
Thank you!!!
Everything is working acordingly now!
Can't wait to test this out :)

Page 2 of 2 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/