- This topic has 5 replies, 2 voices, and was last updated 4 years, 8 months ago by Yuri Kovelenov.
-
AuthorPosts
-
2020-03-02 at 11:25 am #24116GLiFTeKCustomer
hi
this may sound incredibly simple, and i may have gone over this before…
but how does one get JUST the actual “name” (not the value) of a variable for use in things using puzzles?there’s the “all variable names” .. can’t find a way to parse through that though..
thanks.
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-03-02 at 12:39 pm #24118Yuri KovelenovStaff2020-03-02 at 10:28 pm #24131GLiFTeKCustomerhere you go:
hmm i guess “all variable names” isn’t the route i want to go.. i have hundreds of variables in my app. there’s no way to know which number the ones i want to call by name are.
i have 5 lists.. within a list that gets cycled though once.
i have them do different things.. but i want to also be able to call their names like you have in the above picture.. but without using their number place.i tried using their number place using a counter var that increments… but all i got was the sub list’s contents.. NOT the name..
set it up the same as the picture except the master list instead of “all variables”oddly “find first occurrence of” (which should work) ..actually results in a number not the name..
mannn.. this should be real simple huh?
just like ONE command…
maybe a javascript call is in order for this super super simple thing…getElementByName.. or something?… eval??
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-03-03 at 7:35 am #24161Yuri KovelenovStaffdictionaries may be a solution
https://www.soft8soft.com/docs/manual/en/puzzles/Dictionaries.html2020-03-06 at 2:29 am #24376GLiFTeKCustomerwell yeah i tried this with dictionaries..
still would return the contents of the lists.. not the name of the lists.I simply want to get the name of a variable, (which in this case is s list) for use in other things.
I’m not trying to compare values. Just trying to use actual names that you see on the screen.
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-03-06 at 7:29 am #24393Yuri KovelenovStaffIn JavaScript, how would you do it?
-
AuthorPosts
- You must be logged in to reply to this topic.