Page 2 of 2 FirstFirst 1 2
Results 11 to 15 of 15

Thread: Kill all creatures from specific player? Script any?

  
  1. #11

    Default Re: Kill all creatures from specific player? Script any?

    You mean simply this:
    Code:
    REM	Kill the 14th IMP
    IF(PLAYER0,IMP >= 14)
    	NEXT_COMMAND_REUSABLE
    	KILL_CREATURE(PLAYER0,IMP,LEAST_EXPERIENCED,1)
    ENDIF

  2. #12
    Spider UnknownMaster21's Avatar
    Join Date
    Jul 2010
    Location
    Finland
    Posts
    201

    Default Re: Kill all creatures from specific player? Script any?

    Yes, after 14th one, no extra imps is allowed to create, no matter what is the current amount

  3. #13

    Default Re: Kill all creatures from specific player? Script any?

    The script I posted works.

    If you have something similar that doesn't work as you want it to, post it and I'll have a look at why not.

  4. #14
    Spider UnknownMaster21's Avatar
    Join Date
    Jul 2010
    Location
    Finland
    Posts
    201

    Default Re: Kill all creatures from specific player? Script any?

    Doesn't work with IF_CONTROLS, but that works. No problem, I made already a little compromise on my map

  5. #15

    Default Re: Kill all creatures from specific player? Script any?

    I see. That's a bug.

    Reported: https://code.google.com/p/keeperfx/issues/detail?id=516

    Edit: Fixed in latest nightly.
    Last edited by YourMaster; February 26th, 2015 at 09:42.

Similar Threads

  1. Campaign specific Rules.cfg / Magic.cfg / etc
    By Zyraen in forum KeeperFX
    Replies: 3
    Last Post: June 7th, 2011, 07:10
  2. Replies: 7
    Last Post: January 3rd, 2011, 12:58
  3. Creatures Not Entering (Not Script Problem)
    By Metal Gear Rex in forum DK1 Mapmaking
    Replies: 3
    Last Post: December 6th, 2009, 00:57

Tags for this Thread

Posting Permissions

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