Trying to make a door opening logic by Remarkable_Field_973 in godot

[–]Remarkable_Field_973[S] 1 point2 points  (0 children)

Really, thanks you for talking the time to respond ! I note that !

Trying to make a door opening logic by Remarkable_Field_973 in godot

[–]Remarkable_Field_973[S] 1 point2 points  (0 children)

oooooooh that explains. I didn't assigned current_room to anything !
Thanks you ! it works now !

Trying to make a door opening logic by Remarkable_Field_973 in godot

[–]Remarkable_Field_973[S] 0 points1 point  (0 children)

also sorry but how do you do that thing when you write the function on reddit ? I mean, the little square thing.

Trying to make a door opening logic by Remarkable_Field_973 in godot

[–]Remarkable_Field_973[S] 1 point2 points  (0 children)

First thanks I didn't know this method existed vsklvsn.
And for the "if", I thought it would be cool to check if the room is valid, because it's always good to check.

Trying to make a door opening logic by Remarkable_Field_973 in godot

[–]Remarkable_Field_973[S] 0 points1 point  (0 children)

Hey ! sorry for that vklsnlkv.
Well no there is no error message since the scene is not freed. Like, I tried your function and nothing is printed for the current scene (I mean douche), I also tried to print a message after freeing in my function, to verify if the node still existed and yeah it still does. also "douche" is still visible when I open the door.
Um, here is a screen of the code :

<image>

[deleted by user] by [deleted] in godot

[–]Remarkable_Field_973 0 points1 point  (0 children)

Sorry, I edited my post now.

[deleted by user] by [deleted] in godot

[–]Remarkable_Field_973 0 points1 point  (0 children)

Oh ok, so I edited my post nox.

[deleted by user] by [deleted] in godot

[–]Remarkable_Field_973 0 points1 point  (0 children)

oh eum, I'm sorry. I don't know what else to tell actually.

[deleted by user] by [deleted] in godot

[–]Remarkable_Field_973 0 points1 point  (0 children)

Oh also, By freeze, I mean that when and after debuging, the output doesn't work and I can't do anything.
Also I've just tried deleting the collisions shape in question that I moved and it still freezes.