By Olivia Ying - 4/8/2024
Hi Dave,
Hope you're doing well!
The thing is, I set a series of possible values for a particular item, for example: <item player1group> / 1 = "group1" / 2 = "group2" </item> and then I use groupid to determine the value of this item, like: <text player1group> / items = player1group / select = script.groupid / position = (25%, 50%) / color = blue / halign = center / valign = top / erase = false </text>
Ultimately I want to return this final result in summarydata (i.e., whether group1 or 2 ended up being displayed based on my input).
The original version of item has only one value and is recorded as "item.playergroup.1". I tried to change it to "text.playergroup.1" and "text.playergroup.(script.groupid)" but neither works , I wonder if you have any good suggestions?
Thank you so much sincerely!
Best
|
By Dave - 4/9/2024
+xHi Dave,
Hope you're doing well!
The thing is, I set a series of possible values for a particular item, for example: <item player1group> / 1 = "group1" / 2 = "group2" </item> and then I use groupid to determine the value of this item, like: <text player1group> / items = player1group / select = script.groupid / position = (25%, 50%) / color = blue / halign = center / valign = top / erase = false </text>
Ultimately I want to return this final result in summarydata (i.e., whether group1 or 2 ended up being displayed based on my input).
The original version of item has only one value and is recorded as "item.playergroup.1". I tried to change it to "text.playergroup.1" and "text.playergroup.(script.groupid)" but neither works , I wonder if you have any good suggestions?
Thank you so much sincerely!
Best
text.player1group.item(script.groupid) or item.player1group.item(script.groupid), but why don't you simply log the group id (script,groupid), which tells you exactly the same thing?
|
By Olivia Ying - 4/9/2024
+x+xHi Dave,
Hope you're doing well!
The thing is, I set a series of possible values for a particular item, for example: <item player1group> / 1 = "group1" / 2 = "group2" </item> and then I use groupid to determine the value of this item, like: <text player1group> / items = player1group / select = script.groupid / position = (25%, 50%) / color = blue / halign = center / valign = top / erase = false </text>
Ultimately I want to return this final result in summarydata (i.e., whether group1 or 2 ended up being displayed based on my input).
The original version of item has only one value and is recorded as "item.playergroup.1". I tried to change it to "text.playergroup.1" and "text.playergroup.(script.groupid)" but neither works , I wonder if you have any good suggestions?
Thank you so much sincerely!
Best
text.player1group.item(script.groupid) or item.player1group.item(script.groupid), but why don't you simply log the group id (script,groupid), which tells you exactly the same thing? Thank you so much, Dave! It's just an example, and the actual code is a bit more complex so it can't be just recorded as groupid, that's why I came for help.
|
|