Jump to content

Photo

Chest help


  • Please log in to reply
3 replies to this topic

#1 Cecker1200

Cecker1200

    Newbie

  • Members

Posted 20 December 2020 - 09:45 PM

Hello all, I'm trying to have a chest appear after being triggered by a switch. I am able to do this fine by using a step>secret combo and using flag 16 to make a chest appear. However, after this I am unable to have an item in the chest because I cannot place flag 10 and flag 16 on the same combo. Sorry if the wording was confusing. I'm using Lightwuld's EZGB tileset if that makes any difference. Thanks :)


  • Lightwulf and Bagu like this

#2 Bagu

Bagu

    Fandomizer

  • Members
  • Real Name:A.I. Bot Bottomheimer
  • Location:Germany

Posted 20 December 2020 - 10:08 PM

The chest combo itself should have an inherent flag 10 "Armos/Chest->Item"...
You can edit the combo.
 


  • Lightwulf likes this

#3 Lüt

Lüt

    Germanize

  • Members
  • Real Name:Steve
  • Location:Chicago

Posted 20 December 2020 - 10:10 PM

You'll have to use inherent flags.

 

Most tilesets I've used already have this configured, but if yours doesn't, then what you have to do is edit the chest combo itself, and under the "Flag:" dropdown menu, choose 10. That means that when it appears on screen, it will already have flag 10 applied to it. This means that, yes, you can use this to place 2 flags on a single combo - one on the screen, and one inherent to the combo itself. Useful for having functional objects appear as secret reveals.

 

If your current setups already rely on the chest combo not having an inherent flag, just copy the current chest combo to a new chest combo and use that exclusively for the secret.


  • Lightwulf and Bagu like this

#4 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 21 December 2020 - 03:48 AM

Also, you can have a secret trigger spawn a new flag. Inherent flags are the better way to do this for chests, but if you have any other reason to need multiple flags, you can "CTRL+Click" on the secret combo to bring up a flag menu

unknown.png

This flag will REPLACE the secret flag once triggered.

 

Again, not the way to do it for chests- inherent flags as Lüt mentioned are definitely better for chests.


  • Lightwulf and Bagu like this


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users