#get unique node dynamically

1 messages · Page 1 of 1 (latest)

autumn vessel
#

if I have a node called %peniand then want to access this dynamically, how do I do this? I have a variable which contains penistring

#

var x = "peni"

get_node(???)

unborn obsidian
#

Okay one why is it called that rofl

#

Two use a nodeparh

autumn vessel
#

what do you mean nodepath

#

I only did static nodepaths up to now

#

like $"%peni" doesnt work here obv

unborn obsidian
#

NodePath("%peni")

#

Or NodePath("%" + x)

agile escarp
autumn vessel
autumn vessel