Welcome › Forums › Get help › Can you make a tile that disappears when a certain event is triggered?
- This topic has 8 replies, 3 voices, and was last updated 2 years, 4 months ago by
TAGVoar.
-
AuthorPosts
-
March 11, 2022 at 9:35 pm #59064
TAGVoar
ParticipantI am trying to set up a scene where the hero has to answer a question and if they get it right, a tree sprite disappears next to the NPC they are talking to. I found a way I can make the entire level disappear with an invisible actor, but I kind of need the rest of the forest to stick around, hahah. Is this even possible? I see that there are options for making a tile go inactive, but I’m wondering if it can be tied to an action an NPC issues, instead of, say a character walking towards a tile. If that is the only way to do it, I can redesign my game, and just use tokens.
March 11, 2022 at 11:35 pm #59085Macmor
ModeratorIt’s totally doable, but the complexity varies depending on if the sprite is an NPC or part of the map.
NPC’s you can just make inactive, but if you are changing something with the map, that involves copying maps and using tokens.
March 12, 2022 at 10:08 pm #59134TAGVoar
ParticipantOkay, thank you! I think I will just rework the levels, and have the Hero gain a token, then use the “walks toward tile” and check for the token! Thank you
March 19, 2022 at 7:00 pm #60414TAGVoar
ParticipantSo, never mind. I thought I had it worked out, but I can’t get what I want to work, to, well, work.
Basically I want things in the way of the Hero, like rocks, or trees, doors, anything, they can’t get past without having a certain token from talking to an NPC. Once they have the token, then the item unlocks, or disappears. I’m trying to make a quiz show type game, and don’t want the Hero just running past all the NPCs without answering the questions in a large maze-like map.
I tried using Invisibile Actor and given the Hero a token, but I can’t make just one tile disappear, the entire map disappears, hahah.March 19, 2022 at 8:04 pm #60428Macmor
ModeratorBlocking doors or progress with invisible actors is easy but like I said, if you want to remove parts of the map (rocks, trees, ect.), that involves copying the map, teleportation, invisible tiles and tokens. It is totally doable but a lot more work.
March 19, 2022 at 8:57 pm #60438TAGVoar
ParticipantI’m good with blocking with an invisible actor at this point. but I can’t figure out how to make that happen. If I make the Invisible Actor active, my Hero can still walk over it. Like, nevermind even giving the Hero a token, I’ve been just trying to make an invisible wall and still, just walks right over it.
I have found a way of making it so if the Hero lacks a token, they are just turned away from the spot. Would that be the easiest way of doing it?
March 19, 2022 at 10:59 pm #60447Macmor
ModeratorAre you using this? That is an invisible actor. You shouldn’t be able to walk through it until you make it inactive.
March 19, 2022 at 11:25 pm #604510pi3w4n
ParticipantSo what you can do is make an exact copy of the level minus the barrier. Once the player answers the question correctly you transition them to an invisible door in exact location of where they would be interacting with the NPC in the copy level.
March 20, 2022 at 6:12 am #60479TAGVoar
ParticipantOh… No. I, uh, oopses, wasn’t using the right actor 😅
-
AuthorPosts
- The forum ‘Get help’ is closed to new topics and replies.