Results 1 to 4 of 4

Thread: CMAN scripts targeting dead creatures

  1. #1

    Default CMAN scripts targeting dead creatures

    So I made a cman dirtkick script. It works great except for when there's a dead creature around with the same name. It will target the dead creature and say the critters dead instead of targeting the living critter that I want it to target.

    Is there anything I can do about this?

  2. #2

    Default

    Use status.

    So like target = GameObj.npcs.find{|i| i.name =~ /rat/ && i.status !~ /dead/

    Whoops. Noticed this wasn't in the Lich folder. Not sure about wizard or SF scripts.
    Last edited by Tgo01; 11-07-2017 at 10:43 PM.
    @Gelston notice me, senpai!

  3. #3

    Default

    I add PUT LOOT at the start of my attack scripts to clear the bodies.
    You have committed 2 crimes in Icemule Trace in the last six months. They are:
    1 count of murder
    1 count of jailbreak

    You have committed 1 crimes in Ta'Vaalor in the last six months. They are:
    1 count of hooliganism

  4. #4

    Default

    Quote Originally Posted by Ososis View Post
    I add PUT LOOT at the start of my attack scripts to clear the bodies.
    I think if i loot I won't be able to skin the creature?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •