clear
set comp_list "comp1 comp2 comp3"
set count 10
foreach var_comp $comp_list {
*createentity comps name="$var_comp"
set comp_id [hm_entitymaxid comps 0]
eval "*setvalue comps id=$comp_id id={Components $count}"
incr $count
}
i want to edit comp's id when i creat comp,but it fail.
curly brackets cant read this $count
anyone can solve this problem