Jump to content

(novice) parameter or syntax that returns the name of the current parent node


Recommended Posts

I'm sure I've come across the answer before but have googled quite a bit and searched thru the documentation and can't find anything

 

What is the parameter or syntax that returns the name of the current parent node?

ie

In the following I need to replace <name of parent node> with a variable  that actually returns the parent node's name. I assume it begins with $

 

$HIP/../obj/LowPoly_leaves_pack/Textures/<name of parent node>/<name of parent node>_DIFF.png

 

Link to comment
Share on other sites

Thanks!  Surprised there doesn't seem to be an HScript global that does this like $OS for the current node name, Would be extremely useful why applying custom shaders to many objects, for example

 

 

Edited by art3mis
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...