Results 1 to 4 of 4

Thread: CHANGE_SLAB_TYPE Doesn't work

  
  1. #1

    Default CHANGE_SLAB_TYPE Doesn't work

    Hi. I'm new in mapmaking. I made my first map and had some good feedback to improve it.
    But I can't make this part of the script to work.

    IF_ACTION_POINT(5,PLAYER0)
    CHANGE_SLAB_TYPE(44,24,DOOR_SECRET2)
    QUICK_INFORMATION(​17,​"A dead end. Maybe there is a door hiding somewhere..",PLAYER0)
    ENDIF

    The info pop up appears, but the slab doesn't change.

    (I tried change it to DIRT, LAVA, etc too without success)

    I have the latest updates installed.

  2. #2

    Default Re: CHANGE_SLAB_TYPE Doesn't work

    make sure you're watching the right coordinates and have level_version(1) script command included
    if not post test map and exact KFX version

  3. #3

    Default Re: CHANGE_SLAB_TYPE Doesn't work

    You can't actually place doors with CHANGE_SLAB_TYPE though. But most likely you are confusing tiles with subtiles or something. Check keeperfx.log after starting your map to see what it says you are doing wrong.

  4. #4

    Default Re: CHANGE_SLAB_TYPE Doesn't work

    Quote Originally Posted by kix View Post
    make sure you're watching the right coordinates and have level_version(1) script command included
    if not post test map and exact KFX version
    This... I was missing level_version(1)

    Quote Originally Posted by YourMaster View Post
    You can't actually place doors with CHANGE_SLAB_TYPE though. But most likely you are confusing tiles with subtiles or something. Check keeperfx.log after starting your map to see what it says you are doing wrong.
    Now the script works... But yes, changing into a door won't work (doesn't open and you can't destroy it)..

    Very Very thanks to you both.

    Edit: Wanna test my map? Please

    https://keeperfx.net/workshop/item/719/regicide
    Last edited by matute88; November 20th, 2024 at 19:40.

Similar Threads

  1. ENSIGN_ZOOM in LOF files doesn't work properly
    By DragonsLover in forum KeeperFX
    Replies: 6
    Last Post: August 8th, 2011, 03:29
  2. UnSafeDisk doesn't work .__.
    By Beeb in forum DK2 Troubleshooting
    Replies: 2
    Last Post: July 12th, 2011, 17:15
  3. 1 player/skirmish mode doesn't work
    By ricardovcm in forum KeeperFX
    Replies: 2
    Last Post: May 10th, 2011, 17:51
  4. Replies: 2
    Last Post: January 8th, 2011, 20:34
  5. "h" key doesn't work in pause
    By jomalin in forum KeeperFX
    Replies: 4
    Last Post: December 22nd, 2010, 07:48

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
  •