Jump to content

Photo

a puzzle question


  • Please log in to reply
4 replies to this topic

#1 Sans

Sans

    Hey kid wanna buy hot dogs ?

  • Members
  • Location:Judgement Hall

Posted 11 December 2019 - 07:18 PM

hi i would like to ask a question. I don't know if i did already ask that but i need you to be honest: There exist a ffc script that would lit a fire in a torch BUT the fire wouldn't lit off if the player left the room and still trigger something ? Well i say you that because i was thinking about making torch in separate places in the same room but without having Link to lit them all immediately. Like that for example.

191212011814524039.png

That would be very helpful if that kind of puzzle would exist. Of course that would trigger a permanent secret 

 



#2 ChrisHunter64

ChrisHunter64

    average everyday normal guy

  • Members

Posted 19 December 2019 - 07:08 PM

Im pretty sure if the room type is set as dungeon a secret is permanent unless its a block flag. You could use tiered secrets as opposed to the script if you are wanting it vanilla. Im pretty sure you can make it to where you light one, leave the room and re enter, light the other, and so on until the puzzle is finished
Or you can set screen flag as secrets are permanent

#3 NoeL

NoeL

    Legend

  • Members
  • Real Name:Jerram

Posted 20 December 2019 - 12:06 AM

Tiered secrets wouldn't work, since even with permanent secrets it would only ever trigger the first tier. The screen would load in its default state (nothing lit), check the secret flag (secrets activated), then activate the secrets (first torch lights). Any subsequent secrets aren't saved in the room data.

 

It might be possible to set up a chain of dummy rooms, screen state carry overs and direct/timed warps and get it done, but easier to use a script.



#4 Sans

Sans

    Hey kid wanna buy hot dogs ?

  • Members
  • Location:Judgement Hall

Posted 20 December 2019 - 11:10 AM

yeah that's why i wish to know if there's a simple script of this. 



#5 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 25 December 2019 - 04:04 AM

2 things: Firstly, this does NOT BELONG IN 'Scripting Discussion'. It belongs in 'Script Requests'.

Secondly, it should follow the rules for 'Script Requests'; one of which that is notably absent is saying what ZC version you want the script for.

 

https://pastebin.com/yBytNvXV

This is for 2.55. If you wanted 2.53, then too bad, because you didn't specify.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users