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 11:43 PM.
    @Gelston notice me, senpai!

  3. #3

    Default

    I add PUT LOOT at the start of my attack scripts to clear the bodies.
    The moons Lornon and Liabo collide and are both destroyed. Their remains fall upon Elanthia, destroying all living things and tearing apart the lands until Elanthia, itself, disintegrates.
    You rest peacefully.

  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
  •