Closed Keryx42 closed 1 year ago
Sorry for the late response, I didn't get a notification.
Yeah I used get_property_list as it was the only way to do it in G3.4 .
Triggers need some rework anyway so I will fix that, except I don't really have the time, I wasn't planning on working on it for the next 2 months... So I can't tell when this will be fixed.
Thank you for the kind words ^^
Hi @Keryx42 , the 4.2 release should've fixed it
Thats great news :), thank you so much!
First of thank you very much for creating this amazing addon. Im just in the beginning of implementing it but I'm realy impressed about the functionality :)
Where does the problem occour
Main Branch
What Godot version was used
v4.0.2.stable.official [7a0977ce2]
Problem
I can't assign a TriggerContainer to the Spawnpoint
I took a look in the BuHSpawnpoint.gd
Im not familiar with the
_get_property_list()
syntax as I'm usually using@export_node_path(SomeClass)
for those kind of things. https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_exports.html#nodesI happened to see a similar behaviour when you tried to assign a class that was not of the correct type. So maybe this needs also to be written different int the
_get_property_list()
return array. In the docs I couldn't find much explanation about this topic https://docs.godotengine.org/en/stable/contributing/development/core_and_modules/object_class.html#binding-properties-using-set-get-get-property-listI hope this helps you a little bit :)
Example for reproducing the problem
https://user-images.githubusercontent.com/22496462/232871153-f5cd2258-d430-456f-bc6c-71817aa52ca9.mov