|
Senior Member
Join Date: Feb 2013
Posts: 357
|
I'm trying to come up with the coding to allow me to check the tags of a special. The scripting needs to cycle through all custom specials and find their tags. If there are three of the same tag, then check +1 for each group of three.
Is this doable? |
#1 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Something like this might help you out:
Code:
var tagexist as number foreach pick in BaseCustSp if (eachpick.tagis[Custom.Tag] <> 0) then tagexist += 1 endif nexteach tagexist = round(tagexist/3,0,-1) |
#2 |
Senior Member
Join Date: Feb 2013
Posts: 357
|
Thanks. I'll what I can do with that.
|
#3 |
|
|