Setting attribute's random seed value based on the geometry name's suffix that contains it?

   856   1   0
User Avatar
Member
408 posts
Joined: June 2015
Offline
I hope the title is clear enough. Just in case, i'll elaborate a bit. I'm just trying to set the seed of a sort random node based on the name's suffix (integer… geo1, geo2, geo3, geo4) of the geometry node that contains it.
Example:

/obj/geo1/sort1/pointseed = 1
/obj/geo2/sort1/pointseed = 2
/obj/geo3/sort1/pointseed = 3

Thanks in advance.

A.
Edited by Adriano - Feb. 23, 2018 12:01:15
User Avatar
Member
408 posts
Joined: June 2015
Offline
Apparently this does the trick:

opdigits(“../$opname”)

Thanks to me!

A.
  • Quick Links