|
Senior Member
Join Date: Nov 2013
Location: Andover, Ma
Posts: 632
|
Quote:
So what I have decided to do is a mix of your example and your suggestion. I created a new dynamic tag ShardProf with base values of ProfAll, AllSimple, AllMartial, and AllExotic. I'll use those in the future if I need to expand the functionality. The point is I want to get the idstring from my selection and use that as the value of my tag, then push that to the hero. Then I can check if that exists anywhere I need. The issue is I dont know how to do that, this is my code sofar, but I cant figure out a way to take the usrChosen idstring and pass that into an assign or forward command. Code:
~ If we're disabled, do nothing doneif (tagis[Helper.FtDisable] <> 0) ~ If we haven't chosen anything, get out now doneif (field[usrChosen1].ischosen + tagis[Target.?] = 0) ~ Assign the appropriate tag to all weapons that meet the criteria var id as string var name as string call fTargetId foreach pick in hero where "IsWeapon." & id perform eachpick.assign[ShardProf.?] perform eachpick.forward[ShardProf.?] nexteach |
|
#1 |
|
|