#๐Ÿ”’ read

33 messages ยท Page 1 of 1 (latest)

bright onyx
#

so like ive manually set awareness to 1 in the file for testing but for some odd reason it still triggers the reaction time event to press space? someone please help

dim sandalBOT
dim sandalBOT
#

@bright onyx

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

bright onyx
#

i had to send a file cuz it js changed to a txt

#

just write east from the start and youll understand

#

also the time.sleep(0) is a placeholder rn to make testing faster

frigid gate
#

This is the only place you're using awareness = 1, If you want it to do something else you'll have to use it elsewhere

elif event == "pressure_plate": 
# ...
  elif awareness == 1:
    time.sleep(1)
    print(rooms[current_room]["description2"])
bright onyx
#

like where?

#

sorry im kinda new to python

frigid gate
#

i dont really know what you want to do with it, but right now its just running the print(rooms[current_room]["description2"]) when event is pressure_plate and awareness is 1

bright onyx
#

well i want it so that when u enter the room u wont have to do the spacebar qte again and it prints the description2

frigid gate
#

oh i didnt know there was a pressure plate qte

#

i thought it was just the skeleton one

bright onyx
#

oh

#

lol

frigid gate
#

how do you walk to the pressure plate room?

bright onyx
#

east from start

frigid gate
#

so it looks like its just printing the description key from the trap room in rooms

bright onyx
#

yea

#

but its not just printing the description

#

its also activating the event for some reason

frigid gate
#

are you sure? im not seeing that

bright onyx
#

wait

#

oh what

#

i accidentally fixed it ๐Ÿ˜ญ

#

sorry for wasting your time...

#

ik how to fix the description printing thingy

#

sorry again...

frigid gate
#

no worries

bright onyx
#

!close

dim sandalBOT
#
Python help channel closed with !close

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.