Перейти к основному контенту

Поиск

  • mm_dev_8

    *Easiest way to make a door is simply create a keyframe of it in open position
    >Create Keyframe (from animation tab)
    >Position door in an open position
    >Hit stop recording

    *Create a variable gadget for each key you want, give them unique names (key 1, key 2, key 3 for example)
    *Use a Trigger Zone or Imp Grab Sensor on key for collecting it
    *When the player collects a key
    >use variable modifier to set the value of your variable gadget to 1
    >Delete key so it looks like it has been collected! (Use a destroyer, or logic connected to visibility)

    *On your door, use a trigger zone to detect you are near door
    *Connect trigger zone to a Variable modifier set to 'read value'
    *Connect to a calculator, check for = 1, (or > 0)
    *Connect this to a the keyframe of your door in an open position
    *Tweak the keyframe values to make the door animate open slower

    If you want this to work across multiple connected levels, then you'll need to make the variables global, and make sure you put your levels on a 'Dream'.

    This is all from memory, not at a ps4 right now, but hopefully this works!

    -Marcos

  • EMIL-2203

    I manage quickly to create a door with the keyframe. However the instruktions to the Keys confuse me a little. I can't get it to work.

  • Digitalthing

    I tried this out, the key variables, and it all works but the calculator powers the key frame regardless of the variables. I’m not too great at this stuff and haven’t found a way around it.

Войдите в службу, чтобы оставить комментарий.