Mathias,
I'm trying to figure out what I need to put in this foreach loop to get a list of livenames strung together for output that displays weapon qualities.
I think this is the foreach loop I need:
I can't figure out why I keep getting this error message:
"Use of 'foreach' directly upon an entity requires a pick script context
Location: Procedure 'InfoWeapSp' near line 10
I thought the eachthing was the pick context?
I'm trying to figure out what I need to put in this foreach loop to get a list of livenames strung together for output that displays weapon qualities.
I think this is the foreach loop I need:
Code:
foreach bootstrap in entity where "component.WeapQual"
special = splice(special,eachthing.field[livename].text,", ")
nexteach
I can't figure out why I keep getting this error message:
"Use of 'foreach' directly upon an entity requires a pick script context
Location: Procedure 'InfoWeapSp' near line 10
I thought the eachthing was the pick context?